# -*- coding: utf-8 -*-

x,a = map(int, raw_input().split())

if x >= a:
    print("10")
else:
    print("0")
 x,a = map(int, raw_input().split()) x map(int, raw_input().split()) map int raw_input().split() ().split () raw_input split a if x >= a:
    print("10")
else:
    print("0") x >= a x a print("10") print "10" print("0") print "0" a = map(int, raw_input().split()) map(int, raw_input().split()) a x,a = map(int, raw_input().split()) map(int, raw_input().split()) x
# -*- coding: utf-8 -*-

x,a = map(int, raw_input().split())

if x >= a:
    print("10")
else:
    print("0")

