m,n=map(int,raw_input().split()) t=0 while m!=n: if m