while 1:a=raw_input();print[c for c in a if a.count(c)%2][0]