import re


def snake_to_caml(word):
    """Convert a string written in snake_case to a string in CamlCase.

    Args:
        word (str): Input string.

    Returns:
        str: Output string.
    """
    return re.sub('_.', lambda x: x.group()[1].upper(), word)