def nth(i):
    """Returns 1st, 2nd, 3rd, 4th, etc for a given number"""
    if i == 1:
        s = '1st'
    elif i == 2:
        s = '2nd'
    elif i == 3:
        s = '3rd'
    else:
        s = '{}th'.format(i)
    return s
