perl -ne '$x{$_}++;}{for(sort keys %x){print if $x{$_}==1;}' < input.txt