Sergey Kulik's submission of Little Elephant and Strings | CodeChef