def str_to_list(string):
    if not string:
        return ""
    first, second = string
    blocked = set(second)
    result = []
    for char in first:
        if char not in blocked:
            result.append(char)
    return "".join(result)