def cast(original_val, str_val:str):
    """Cast simple type from character
    Ex. int, float, bool, complex
    """
    simple_type = type(original_val)
    if simple_type == str:
        return str_val
    elif simple_type in (int, float, bool, complex):
        return simple_type(str_val)
    else:
        raise ValueError(f'Expect int/float/bool/complex, get {simple_type}')