x_input = input("enter x value\n")
y_input = input("enter y value\n")
list_of_scores = x_input.split(":")
list_of_scores = y_input.split(":")

if (x_input > y_input):
    print("yes")
else:
     print("no")
