a="$System.in".split();print a.grep{!a.grep(it)[1]}.sort().join(' ')