1999

Problem ID: 1999

See also: SPOJ TAP2012B