a,b = map(int,input().split()) print(1 if B/A < 80 else 2)