Ivan's submission of Rectangular Queries | CodeChef