A = int(input()) B = int(input()) print(1 if B/A < 80 else 2)