#!/usr/bin/env python3 import sys hashes=set() for line in sys.stdin: h = hash(line) if not h in hashes: hashes.add(h) print(line,end="")