Vitaliy's submission of Little Elephant and CNSes | CodeChef