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