import java.util.* ;
import java.lang.* ;
import java.io.* ;
class Main {
public static void main
( String [ ] args
) { String eng
= "qwertyuiop[]asdfghjkl;'zxcvbnm,./QWERTYUIOP{}ASDFGHJKL:\" ZXCVBNM<>?йцукенгшщзхъфывапролджэячсмитьбю.ЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ,@#$^&\" №;:?" ; String rus
= "йцукенгшщзхъфывапролджэячсмитьбю.ЙЦУКЕНГШЩЗХЪФЫВАПРОЛДЖЭЯЧСМИТЬБЮ,qwertyuiop[]asdfghjkl;'zxcvbnm,./QWERTYUIOP{}ASDFGHJKL:\" ZXCVBNM<>?\" №;:?@#$^&" ; Scanner scan
= new Scanner
( System .
in ) ; word = scan.nextLine ( ) ;
for ( int i = 0 ; i < word.length ( ) ; i++ ) {
int k = rus.indexOf ( word.charAt ( i) ) ;
if ( k != - 1 ) {
word1.append ( eng.charAt ( k) ) ;
} else {
word1.append ( word.charAt ( i) ) ;
}
}
word = word1.toString ( ) ;
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBNYWluIHsKCXB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB7CgkJU3RyaW5nIGVuZyA9ICJxd2VydHl1aW9wW11hc2RmZ2hqa2w7J3p4Y3Zibm0sLi9RV0VSVFlVSU9Qe31BU0RGR0hKS0w6XCJaWENWQk5NPD4/0LnRhtGD0LrQtdC90LPRiNGJ0LfRhdGK0YTRi9Cy0LDQv9GA0L7Qu9C00LbRjdGP0YfRgdC80LjRgtGM0LHRji7QmdCm0KPQmtCV0J3Qk9Co0KnQl9Cl0KrQpNCr0JLQkNCf0KDQntCb0JTQltCt0K/Qp9Ch0JzQmNCi0KzQkdCuLEAjJF4mXCLihJY7Oj8iOwoJCVN0cmluZyBydXMgPSAi0LnRhtGD0LrQtdC90LPRiNGJ0L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