def create_name_tags(user_id_list):
    """
    Create a string that consists of all the user_id tags
    that will be added at the beginning of a message.
    """
    names_to_prepend = ''

    for user_id in user_id_list:
        if user_id not in ['channel', 'here', 'everyone']:
            names_to_prepend += f'<@{user_id}> '
        else:
            names_to_prepend += f'<!{user_id}> '

    return names_to_prepend