1092

Problem ID: 1092

See also: UVa 11499, br.SPOJ SEQUE