10182

Problem ID: 10182

See also: URI 1732, SPOJ BMJ