1656

Problem ID: 1656

See also: UVa 11237, SPOJ HALLOW