import numpy as np



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





l = x/(a*a)



if l<=b/2.0:

    f = b**2.0/(2.0*a*l)

else:

    f = 2.0*(b-l)/a

ans = np.rad2deg(np.arctan(f))

print(ans)
import math



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





l = x/(a*a)



if l<=b/2.0:

    f = b**2.0/(2.0*a*l)

else:

    f = 2.0*(b-l)/a

ans = math.degrees(math.atan(f))

print(ans)
import numpy as np

a, b, x = list(map(int, input().split()))
l = x / (a * a)
if l <= b / 2.0:
    f = b**2.0 / (2.0 * a * l)
else:
    f = 2.0 * (b - l) / a
ans = np.rad2deg(np.arctan(f))
print(ans)

import math

a, b, x = list(map(int, input().split()))
l = x / (a * a)
if l <= b / 2.0:
    f = b**2.0 / (2.0 * a * l)
else:
    f = 2.0 * (b - l) / a
ans = math.degrees(math.atan(f))
print(ans)

-import numpy as np +import math -ans = np.rad2deg(np.arctan(f)) +ans = math.degrees(math.atan(f))