• + 0 comments
    read N
    
    # Read the space-separated integers into an array and find the unique integers with their counts
    
    echo "$(< /dev/stdin)" | tr ' ' '\n' | sort | uniq -u