#!/usr/bin/env python3
# https://atcoder.jp/contests/abc130/tasks/abc130_a

x, a = [int(x) for x in input().split()]
print(0) if x < a else print(10) int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x x, a = [int(x) for x in input().split()] x [int(x) for x in input().split()] a print(0) if x < a else print(10) x < a x a print(0) print 0 print(10) print 10 x, a = [int(x) for x in input().split()] [int(x) for x in input().split()] x a = [int(x) for x in input().split()] [int(x) for x in input().split()] a
#!/usr/bin/env python3
# https://atcoder.jp/contests/abc130/tasks/abc130_a

x, a = [int(x) for x in input().split()]
print(0) if x < a else print(10)
