S = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' T = 'abcdefghijklmnopqrstuvwxyz' X = '' for i in input(): if i in S: X += T[S.index(i)] else: X += S[T.index(i)] print(X)