12189

Problem ID: 12189

See also: LA 4475, URI 1440, br.SPOJ PRACAALI