2694

Problem ID: 2694

See also: br.SPOJ CALCU11