def capitalize(text: str) -> str:
    """
    Capitalize the first letter only.

        >>> capitalize("")
        ''
        >>> capitalize("alice")
        'Alice'
        >>> capitalize("BOB")
        'BOB'
        >>> capitalize("alice and bob")
        'Alice and bob'
    """
    if not text:
        return ""
    return f"{text[0].capitalize()}{text[1:]}"