import math d1,d2=map(int,input().split()) ans=0 if d2