def _ordinal(n: int) -> str:
    """Return suffix for ordinal.

    https://codegolf.stackexchange.com/a/74047

    Parameters
    ----------
    n : int
        Must be >= 2

    Returns
    -------
    str
        Ordinal form `n`. Ex 1 -> '1st', 2 -> '2nd', 3 -> '3rd'.

    """
    i: int = n % 5 * (n % 100 ^ 15 > 4 > n % 10)
    return str(n) + "tsnrhtdd"[i::4]