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



if x == a**2*b:

  print((0))

  exit()



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

  t = (2*x)/(a*b**2)

else:

  t = (a**3)/(2*(a**2*b-x))

#print(t)



import math

a = math.atan(t)

a = math.degrees(a)

print((90-a))

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



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

    t = 2*(b*a**2-x)/(a**3)

else:

    t = (a*b**2)/(2*x)



import math

p = math.atan(t)

p = math.degrees(p)

print(p)

a, b, x = list(map(int, input().split()))
if x == a**2 * b:
    print((0))
    exit()
if x <= a**2 * b / 2:
    t = (2 * x) / (a * b**2)
else:
    t = (a**3) / (2 * (a**2 * b - x))
# print(t)
import math

a = math.atan(t)
a = math.degrees(a)
print((90 - a))

a, b, x = list(map(int, input().split()))
if x >= a**2 * b / 2:
    t = 2 * (b * a**2 - x) / (a**3)
else:
    t = (a * b**2) / (2 * x)
import math

p = math.atan(t)
p = math.degrees(p)
print(p)

-if x == a**2 * b: -    print((0)) -    exit() -if x <= a**2 * b / 2: -    t = (2 * x) / (a * b**2) +if x >= a**2 * b / 2: +    t = 2 * (b * a**2 - x) / (a**3) -    t = (a**3) / (2 * (a**2 * b - x)) -# print(t) +    t = (a * b**2) / (2 * x) -a = math.atan(t) -a = math.degrees(a) -print((90 - a)) +p = math.atan(t) +p = math.degrees(p) +print(p)