while 1: s={' '} for c in input():s^={c} print(*s)