while~0: a=raw_input() if hash(a)%77443%2:print a