import matha = float(raw_input())b = float(raw_input())c = float(raw_input())x =math.degrees(math.acos((a**2+b**2-c**2)/(2*a*b))print format(x,".1f")