A, B = [int(input().strip()) for i in range(2)] print([1, 2][B / A > 100])