Ali-Amir Aldan's submission of Andrew and the Strings | CodeChef