def ordinal(n, combine=False):
    """
    Return the ordinal of the number n.

    If combine then return the number concatenated with the ordinal
    """
    number_string = str(n) if combine else ""
    special_cases = {1: "st", 2: "nd", 3: "rd"}
    if not 10 <= n % 100 <= 20 and n % 10 in special_cases:
        return number_string + special_cases[n % 10]
    return number_string + "th"