chandan's submission of Rectangular Queries | CodeChef