line = input()
print(10 if (int)(line.split(" ")[0]) >= (int)(line.split(" ")[1]) else 0) line = input() line input() input print(10 if (int)(line.split(" ")[0]) >= (int)(line.split(" ")[1]) else 0) print 10 if (int)(line.split(" ")[0]) >= (int)(line.split(" ")[1]) else 0 (int)(line.split(" ")[0]) >= (int)(line.split(" ")[1]) (int)(line.split(" ")[0]) int line.split(" ")[0] line.split(" ") line.split line split " " 0 (int)(line.split(" ")[1]) int line.split(" ")[1] line.split(" ") line.split line split " " 1 10 0 line = input() input() line
line = input()
print(10 if (int)(line.split(" ")[0]) >= (int)(line.split(" ")[1]) else 0)