Zhenyang Dai's submission of Andrew and the Strings | CodeChef