Given a set of N axis aligned rectangles, you need to find the area of their union. Each rectangle is represented by two points, one lower-left point and one upper-right point. The coordinates are all integers.
Input:
First line consists of N denoting the number of rectangles.
Following N lines consist of ,,, each where represents the lower-left point and represents the upper-right point of i th rectangle.
Output:
Print the area of the union of the rectangles.
Constraints:
<
<
The area of the union is 9.