We are given n squares in the plane, defined as their center and one of their vertices. Write a program squares to calculate the area covered by these squares.
The first line holds the integer n (0 < n < 10) - the number of squares. Each of the next n lines holds 4 integers, separated by a space, each describing one of the squares. Each square is described by the coordinates of its center and the coordinates of one of its vertices. All coordinates are integers in the range [-50, 50].
The program should print the area covered by the squares, rounded to the nearest integer number.