Ming-Tian Yang's submission of A humongous Query | CodeChef