while 1: s=raw_input() if hash(s)%77443%2:print s