import std.cstream;void main(){int[char[]]t;for(char[]s;din.readf(&s);)t[s.dup]++||dout.writeLine(s);}