Xuandi Ren's submission of A humongous Query | CodeChef