import math

a,b,x = list(map(int,input().split()))

if x<=(a**2*b)/2:

    deg = math.degrees(math.atan((a*b**2)/(2*x)))

else:

    deg = math.degrees(math.atan(2*(b*a**2-x)/a**3))

print(deg)
import math

a,b,x = list(map(int,input().split()))

if 2*x>=(a**2)*b:

    theta = math.degrees(math.atan(2*(b-x/a**2)/a))

else:

    theta = math.degrees(math.atan((a*b**2)/(2*x)))

print(theta)
import math

a, b, x = list(map(int, input().split()))
if x <= (a**2 * b) / 2:
    deg = math.degrees(math.atan((a * b**2) / (2 * x)))
else:
    deg = math.degrees(math.atan(2 * (b * a**2 - x) / a**3))
print(deg)

import math

a, b, x = list(map(int, input().split()))
if 2 * x >= (a**2) * b:
    theta = math.degrees(math.atan(2 * (b - x / a**2) / a))
else:
    theta = math.degrees(math.atan((a * b**2) / (2 * x)))
print(theta)

-if x <= (a**2 * b) / 2: -    deg = math.degrees(math.atan((a * b**2) / (2 * x))) +if 2 * x >= (a**2) * b: +    theta = math.degrees(math.atan(2 * (b - x / a**2) / a)) -    deg = math.degrees(math.atan(2 * (b * a**2 - x) / a**3)) -print(deg) +    theta = math.degrees(math.atan((a * b**2) / (2 * x))) +print(theta)