#Note the differences in these codes
#Try it with some different values of x and y:
#(x,y) \in \{(3,5), (5,3), (6,3), (3,3)\}

def compare(x,y):
    ans=0
    if x > y: 
        ans = 10
    if x == 5:
        ans = ans-1
    else:
        ans = ans+1
    return ans


def compare2(x,y):
    ans=0
    if x > y: 
        ans = 10
        if x == 5:
            ans = ans-1
    else:
        ans = ans+1
    return ans

def compare3(x,y):
    ans=0
    if x > y: 
        ans = 10
        if x == 5:
            ans = ans-1
        else:
            ans = ans+1
    return ans