var c:char;n:comp;begin repeat n:=ord((c>^~)&(c<^!))*32-42;read(c);c:=chr(n*ord(c>^`)+42xor ord(c));write(c)until 0>0end.