def str_with_suffix(n):
    """Convert the integer n to a string expressing the corresponding 
    position in an ordered sequence.
    Eg. 1 becomes '1st', 2 becomes '2nd', etc.
    """
    if int(n) % 100 == 11:
        return str(n) + 'th'
    elif int(n) % 100 == 12:
        return str(n) + 'th'
    elif int(n) % 100 == 13:
        return str(n) + 'th'
    if int(n) % 10 == 1:
        return str(n) + 'st'
    elif int(n) % 10 == 2:
        return str(n) + 'nd'
    elif int(n) % 10 == 3:
        return str(n) + 'rd'
    else:
        return str(n) + 'th'