while 1: a=raw_input() for b in set(a)-set(" "): if a.count(b)%2:print b