# Python 3.6.1
import math
# cos A = (b^2+c^2-a^2)/2bc
def ToDegrees(a, b, c):
return math.acos((b * b + c * c - a * a) / (2 * b * c)) * 180 / math.pi;
# input
a = int(input());
b = int(input());
c = int(input());
# output
print (ToDegrees(a, b, c));
print (ToDegrees(c, a, b));
print (ToDegrees(c, b, a));
# Python 3.6.1
import math
# cos A = (b^2+c^2-a^2)/2bc
def ToDegrees(a, b, c):
return math.acos((b * b + c * c - a * a) / (2 * b * c)) * 180 / math.pi;
# input
a = int(input());
b = int(input());
c = int(input());
# output
print (ToDegrees(a, b, c));
print (ToDegrees(c, a, b));
print (ToDegrees(c, b, a));