1496

Problem ID: 1496

See also: UVa 12674, LA 6531