print(eval(input().replace(" ",">="))*10) print(eval(input().replace(" ",">="))*10) print eval(input().replace(" ",">="))*10 eval(input().replace(" ",">=")) eval input().replace(" ",">=") ().replace () input replace " " ">=" 10
print(eval(input().replace(" ",">="))*10)