import re


def splitcamelcase(string):
    """Transform CamelCase into camel case"""
    res = ""
    for ch in string:
        if re.match('[A-Z]', ch):
            res += ' ' + ch.lower()
        else:
            res += ch
    return res