Jabbing Jets
시간 제한1초메모리 제한2048 MB
주어진 동심원 위에 두 점 사이의 거리가 e 이상이 되도록 점을 최대한 많이 배치한다.
문제
You have just gotten a new job at the Bathroom Accessories Production Company. The first task you are given is to jab holes into showerheads. To prove yourself, you have decided you want to create as many holes as possible.
However, you cannot just randomly drill holes everywhere in the showerhead. (At least, not without getting fired.) In order to ensure that the showerheads look aesthetically pleasing, the company has composed some guidelines which you will have to follow. See Figure J.1 for some examples of aesthetically pleasing showerheads.
- The holes should be arranged in concentric circles of radii : the center of every hole should be on one of these circles.
- The distance between the centers of any two holes should be at least .
How many holes can you make at most?

Figure J.1: Possible aesthetically pleasing showerheads for the first two samples.
입력
The input consists of:
- One line with two integers and (),
- One line with integers (), the radii of the circles.
It is guaranteed that the numbers are given in increasing order, and that . Furthermore, it is guaranteed that increasing any radius by at most will not change the final answer.
출력
Output the maximal number of holes that you can make in the showerhead.