def main(): S = input() table = str.maketrans('abcdefghijklmnopqrstuvwxyz', \ 'cqlmdrstfxyzbanopuvweghijk') print(S.translate(table)) main()