#!/bin/sh
input=$1
while read -r str
do
	[[ $(grep -c "$str" "$input") == 1 ]] && echo $str
done < "$input"