1368

Problem ID: 1368

See also: br.SPOJ CUBOS