def _encode_text(text: str) -> list[int]:
    """
    Converts the text from literal values to numerical values.
    Uses the table conversion A -> 1, B -> 2, ...

    Args:
        text (str): Text to be encoded.

    Returns:
        list[int]: Encoded text as a list of ints.
            Each position corresponds to a character
            from input text.
    """
    
    return [ord(c) for c in text]