The first line contains the number of rectangles N. (2≤N≤3000)
Each of the next N lines contains four integers x1, y1, x2, y2 in this order. (−50000≤x1<x2≤50000, −50000≤y1<y2≤50000) The lower left corner of that rectangle is (x1,y1) and its upper right corner is (x2,y2).