1493

Problem ID: 1493

See also: UVa 12671, LA 6528