#include <iostream>
#include <cstring>
using namespace std;
int main()
{
string msg = "";
while (getline(cin, msg))
{
char arr[msg.length() + 1];
strcpy(arr, msg.c_str());
for (int i = 0; i < msg.length(); i++)
arr[i] -= 7;
for (int i = 0; i < msg.length(); i++)
cout << arr[i];
cout << endl;
}
}