Square in rectangles | CodeChef