'''
Created on May 21, 2018

@author: nishant.sethi
'''
import math
a=int(input())
b=int(input())
c=(a**2+b**2)**0.5
result=round(math.degrees(math.asin(a/c)))
print(str(int(result))+'°')
4c81a83b0516fab19507584253a7270ffcf39cdb
<mask token>

<mask token>
print(str(int(result)) + '°')

<mask token>
a = int(input())
b = int(input())
c = (a ** 2 + b ** 2) ** 0.5
result = round(math.degrees(math.asin(a / c)))
print(str(int(result)) + '°')

<mask token>
import math
a = int(input())
b = int(input())
c = (a ** 2 + b ** 2) ** 0.5
result = round(math.degrees(math.asin(a / c)))
print(str(int(result)) + '°')

'''
Created on May 21, 2018

@author: nishant.sethi
'''
import math
a=int(input())
b=int(input())
c=(a**2+b**2)**0.5
result=round(math.degrees(math.asin(a/c)))
print(str(int(result))+'°')