str = gets.split
A,B,X = str[0].to_i, str[1].to_i, str[2].to_i
V = A*A*B
V2 = V/2.0

if X > V2
    c = (V-X)/(A*A*0.5)
    d = Math.atan(c/A)
    answer = d / Math::PI * 180
else
    c = X/(A*B*0.5)
    d = Math.atan(c/B)
    answer = 90 - (d / Math::PI * 180)
end
puts c,d,answer