import java.util.*;
import java.lang.*;
import java.io.*;
class Main {
public static void main
(String[] args
) { Scanner sc
= new Scanner
(System.
in); String y
= "`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./"; try {
while (sc.hasNextLine()) {
x = sc.nextLine();
x = x.toUpperCase();
int found;
for (int i = 0; i < x.length(); i++) {
if (x.charAt(i) == ' ') {
} else {
found = y.indexOf(x.charAt(i));
if (found == 0) found = y.length();
System.
out.
print(y.
charAt(found
-1)); }
}
}
} finally {
sc.close();
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBNYWluIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB7CgkJU3RyaW5nIHggPSBuZXcgU3RyaW5nKCk7CgkJU2Nhbm5lciBzYyA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkJU3RyaW5nIHkgPSAiYDEyMzQ1Njc4OTAtPVFXRVJUWVVJT1BbXVxcQVNERkdISktMOydaWENWQk5NLC4vIjsKCQl0cnkgewoJCQl3aGlsZSAoc2MuaGFzTmV4dExpbmUoKSkgewoJCQkJeCA9IHNjLm5leHRMaW5lKCk7CgkJCQl4ID0geC50b1VwcGVyQ2FzZSgpOwoJCQkJaW50IGZvdW5kOwoJCQkJZm9yIChpbnQgaSA9IDA7IGkgPCB4Lmxlbmd0aCgpOyBpKyspIHsKCQkJCQlpZiAoeC5jaGFyQXQoaSkgPT0gJyAnKSB7CgkJCQkJCVN5c3RlbS5vdXQucHJpbnQoIiAiKTsKCQkJCQl9IGVsc2UgewoJCQkJCWZvdW5kID0geS5pbmRleE9mKHguY2hhckF0KGkpKTsKCQkJCQlpZiAoZm91bmQgPT0gMCkgZm91bmQgPSB5Lmxlbmd0aCgpOwoJCQkJCVN5c3RlbS5vdXQucHJpbnQoeS5jaGFyQXQoZm91bmQtMSkpOwoJCQkJCX0KCQkJCX0KCQkJCVN5c3RlbS5vdXQucHJpbnQoIlxuIik7CgkJCX0KCQl9IGZpbmFsbHkgewoJCQlzYy5jbG9zZSgpOwoJCX0KCX0KfQ==