2467

Problem ID: 2467

See also: br.SPOJ FREQ14