Author:  G. Grenkin  Time limit:  1 sec  
Input file:  input.txt  Memory limit:  256 Mb  
Output file:  output.txt 
A sculpture of dragon is established in the campus of Far Eastern Federal University. There are long claws on dragon's paws. According to a legend, when a student passes the session successfully, the claws grow a little (by several nanometers). That's why students took an interest how much the area of the claw will increase when the claw grows by d mm.
Students constructed the following mathematical model of dragon's claw growth. The claw has the shape of a convex polygon with a base on the abscissa axis. The claw grows equally in all directions and doesn't grow below its base. When the claw grows by d mm, all its sides shift in parallel by d mm to the outside (see the figure). The base of the claw remains at the same place, so one should intersect the new polygon with the abscissa axis.
Your program must calculate the area of the claw before and after its growing.
Input file contains integers N d, followed by N pairs of integers x_{i} y_{i} — coordinates of vertices of the polygon in millimeters in the clockwise order. The polygon is nondegenerate.
Output file must contain 2 real numbers: the area of the claw before and after growing in mm^{2} with at least 4 correct digits after the decimal point.
3 ≤ N ≤ 40; 1 ≤ d ≤ 100; − 100 ≤ x_{i} ≤ 100; 0 ≤ y_{i} ≤ 100; y_{1} = y_{n} = 0.
No.  Input file (input.txt ) 
Output file (output.txt ) 

1 


2 

