while 1: s='';t=0 for c in raw_input():t=ord(c)^-t&32;s+=chr(t) print s