Zhang Yide's submission of Andrew and the Strings | CodeChef