1084

Problem ID: 1084

See also: UVa 11491, br.SPOJ APAGA