import math

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

if x>a**2*b/2:

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

else:

    k = math.degrees(math.asin(b/(4*x**2/a**2/b**2+b**2)**0.5))

print(k)
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 x > a**2 * b / 2:
    k = math.degrees(math.atan((2 * a**2 * b - 2 * x) / a**3))
else:
    k = math.degrees(math.asin(b / (4 * x**2 / a**2 / b**2 + b**2) ** 0.5))
print(k)

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)

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