Alien Visit
25 May, 1997, near Elcino-Borisovo place, Jandal region, strange signs were found in the field...
Witness: "First, I saw only one UFO. It was shining with cold-blue light. Closer to the center of the object, the light was pink. It hung over the field, then began to blink and move intermittently round. The UFO was quite big. The second UFO came several minutes after the first. It had the same size as the first one. It seemed that there was some kind of contact between them ? they began to blink alternately."
Circles of scorched barley were found in the field. The circles were of the same radius, and their centers were lying on a straight line.
You were hired to investigate the damage caused to the farms of Elcino-Borisovo place by the visit of aliens. In order to do this you are to calculate the total area of scorched barley.
Input
The first line of the input contains two integers n and r denoting number of circles and the radius of the circles, respectively (1 ≤ n ≤ 1000, 1 ≤ r ≤ 100). The next line contains n space separated integers a_1, a_2, ..., a_n ? the shifts of circles' centers relative to some origin (0 ≤ a_i ≤ 5000). All shifts are guaranteed to be distinct.
Output
Output the only real number ? the total area covered by these circles. Your answer must be truncated to five decimal places.