A=int(input()) B=int(input()) import math data1=[A/5000,B/200000] data2=[A/(5000)**2,B/(200000)**2] num1=math.fabs(1-data1[0]/data1[1]) num2=math.fabs(1-data2[0]/data2[1]) if num1