Sameer Jain's submission of Little Elephant and Magic | CodeChef