#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys


def flip(source):
    normal = "123456789abcdefghijklmnopqrstuvwxyz)([]{}!.?,&$'\"ɐqɔpǝɟƃɥıɾʞʃɯuodbɹsʇnʌʍxʎz()][}{¡˙¿'⅋$,„"

    upside = "TƧƐհS9ŁȢ6ɐqɔpǝɟƃɥıɾʞʃɯuodbɹsʇnʌʍxʎz()][}{¡˙¿'⅋$,„abcdefghijklmnopqrstuvwxyz)([]{}!.?,&$'\""

    dest = []

    for char in source:
        if normal.find(char) != -1:
            dest.insert(0, upside[normal.index(char)])
        else:
            dest.insert(0, char)

    return "".join(dest)


if __name__ == "__main__":
    print(flip(sys.argv[1].lower()))
