Egor Suvorov's submission of Little Elephant and Magic | CodeChef