X, A = list(map(int, input().split()))
ans = 0 if X < A else 10
print(ans) X, A = list(map(int, input().split())) X list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split A ans = 0 if X < A else 10 ans 0 if X < A else 10 X < A X A 0 10 print(ans) print ans X, A = list(map(int, input().split())) list(map(int, input().split())) X ans = 0 if X < A else 10 0 if X < A else 10 ans A = list(map(int, input().split())) list(map(int, input().split())) A
X, A = list(map(int, input().split()))
ans = 0 if X < A else 10
print(ans)
