def replace_keys(the_string, the_dict):
    """
    Replace all keys with their values in 'the_string'
    :param the_string:
    :param the_dict:
    :return: processed string
    """
    for key, value in the_dict.items():
        the_string = the_string.replace(key, value)
    return the_string
