def process_single(word):
    """
    Process a single word, whether it's identifier, number or symbols.

    :param word: str, the word to process
    :return: str, the input
    """
    if word[0].isnumeric():
        try:
            int(word)
        except ValueError:
            raise ValueError("Expression {} not valid".format(word))
    return word