1492

Problem ID: 1492

See also: UVa 12670, LA 6527