Wentao Wang's submission of String Query | CodeChef