Monitoring System
BCBC is a large bank. To ensure safety, they have set many cameras to monitor the total bank. Recently, they have found some problems in the monitoring system. In the current system, a camera can monitor a rectangle region. Some regions can be monitored by three or more cameras, which is waste; some regions can only be monitored by just one camera, which is not safe. So the manage intends to improve the system. Now he wants to know how many regions are monitored by just two cameras.
Input
There are multiple test cases. Each test case begins with an integer n (1 ≤ n ≤ 100000) standing for the number of cameras. Then n lines follow. Each line has four integers x_1, y_1, x_2, y_2 (1 < x_1, x_2, y_1, y_2 < 10^9). The four integer descript the rectangle region one camera can monitor, (x_1, y_1) is the left bottom coordinate and (x_2, y_2) is the right up coordinate
Output
Each test case output one integer that is the area of regions covered by just exactly two cameras, the result occupied one line.