A=input() i=0 shift=32 ss=96 x="" for n in A: asc=ord(A[i]) if asc>ss: asc-=shift else: asc+=shift x+=chr(asc) i+=1 print(x)