def remove_unnecessary(string):
    """Removes unnecessary symbols from a string and returns the string."""
    string = string.replace('@?', '')
    string = string.replace('?@', '')
    return string