import math

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

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

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

else:

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

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 * a * b / 2:
    deg = math.degrees(math.atan(2 * (a * a * b - x) / (a**3)))
else:
    deg = math.degrees(math.atan(a * b * b / (2 * x)))
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)

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