Tommy loves lemons, especially those from the lemon tree under the moon. He also likes to eat lemons, but eating too many lemons can make him drunk. Tommy doesn't want to get drunk, so he asks you to find out exactly how much of the lemon he is eating to ensure that he won't be drunk. Help Tommy determine how much lemon he is intaking so that he won't end up on the streets drunk out of his mind.
Tommy puts the cross section of lemon on the plane and centers it at the origin point,
Constraints
Input Specification
The first line is a positive integer
The next
Output Specification
For each query, output on a new line the area of the lemon in the given interval.
Note: Your output will be accepted if it is within
Sample Input
4
1 1 -2 2
1 1 -1 0
2 1 -1 0
1 1 -5 -4
Sample Output
3.000
1.500
1.938
0.000
Comments