Consider a doubly infinite cylinder whose axis passes through the center of the Cartesian coordinate system, with radius . In this problem, you need to calculate the surface area of a sphere of radius centered at point , which is contained within the cylinder.
The first line contains four integers , x_c, y_c, z_c — the radius of the sphere and the coordinates of its center. The second line contains four integers , x_v, y_v, z_v — the radius of the cylinder and the coordinates of a point on its axis (which does not coincide with the origin). All numbers are integers, each with absolute value not exceeding , and the radii are positive.
Output a single number: the surface area of the sphere inside the cylinder, accurate to at least decimal places.
Beispiel 1