import sequtils,strutils var A = stdin.readline.parseInt B = stdin.readline.parseInt if A * 400 >= B: echo 1 else: echo 2