1499

Problem ID: 1499

See also: UVa 12677, LA 6534