print(''.join(['cqlmdrstfxyzbanopuvweghijk'[ord(c) - ord('a')] for c in input().strip()]))