def pluralize(n: int, singular: str, plural: str) -> str:
    """Choose between the singular and plural forms of a word depending on the
    given count.
    """
    if n == 1:
        return singular
    else:
        return plural