Karan Malhotra's submission of Primitive Queries | CodeChef