12363

Problem ID: 12363

See also: LA 5796, URI 1314, br.SPOJ HEDGE11