<gh_stars>0
def to_camel_case(text):
    if text == "" or not isinstance(text, str):
        print("Error")
        return text
    symbols = ''.join(a for a in text if not a.isalpha())
    table = text.maketrans(symbols, " " * len(symbols))
    translated_text = text.translate(table)
    text_list = translated_text.split()
    for position, word in enumerate(text_list):
        if position == 0:
            continue
        elif len(word) > 1:
            text_list[position] = word[0].upper() + word[1:]
        else:
            text_list[position] = word[0].upper()
    return ''.join(text_list)


print(to_camel_case("the_Pippi_Is-kawaii"))

def to_camel_case(text):
    if text == "" or not isinstance(text, str):
        print("Error")
        return text
    symbols = ''.join(a for a in text if not a.isalpha())
    table = text.maketrans(symbols, " " * len(symbols))
    translated_text = text.translate(table)
    text_list = translated_text.split()
    for position, word in enumerate(text_list):
        if position == 0:
            continue
        elif len(word) > 1:
            text_list[position] = word[0].upper() + word[1:]
        else:
            text_list[position] = word[0].upper()
    return ''.join(text_list)


print(to_camel_case("the_Pippi_Is-kawaii"))