<reponame>subhadeep-123/HackerRank<gh_stars>1-10
import math
AB = float(input())
BC = float(input())
print(str(round(math.degrees(math.atan2(AB, BC)))) + '°')

import math
AB = float(input())
BC = float(input())
print(str(round(math.degrees(math.atan2(AB, BC)))) + '°')