from typing import Tuple
from typing import List


def analyzeInput(inputString: str) -> Tuple[List[str], List[str], List[str]]:
    """
    splits the input string so it can be read

    Args:
        inputString (str): has to be like "elemA|elemB|... factor*vdw elemC|elemD|..."

    Returns:
        list: list of lists. Like [['C', 'N'], ['2','vdw'], ['C', 'O']]
    """
    inputParts = inputString.split()
    inputA = inputParts[0].split("|")
    length = inputParts[1].split("*")
    inputB = inputParts[2].split("|")
    return (inputA, length, inputB)