#include <iostream>
using namespace std;
//k=-7
int main() {
char Input;
while(cin >> Input){
Input = (int)Input-7;
cout << (char)Input;
}
return 0;