def camel_case_to_separate_words(camel_case_string: str) -> str:
    """Convert CamelCase string into a string with words separated by spaces"""
    words = [[camel_case_string[0]]]

    for character in camel_case_string[1:]:
        if words[-1][-1].islower() and character.isupper():
            words.append(list(character))
        else:
            words[-1].append(character)

    return " ".join("".join(word) for word in words)