1583

Problem ID: 1583

See also: SPOJ CONTAMINATION