1125

Problem ID: 1125

See also: UVa 11835, br.SPOJ FORMULA