#SDNU1484. Problem_B
Problem_B
Description
On the plane coordinate system, there are rectangles parallel to the axis. They may have a part of the cover of each other. Now do it just with area.
Format
Input
There is a number , means the number of rectangles.
The next lines, each line contains four integers, means the coordinates of the lower left corner and the upper right corner of this rectangle.(range of integer: )
Output
Only one line, one integer represent the graphic area.
Samples
3
1 1 4 3
2 -1 3 2
4 0 5 2
10