#include <iostream>
#include <cstdlib>
#include <string>
using namespace std;
int main ()
{
char hh[100] = {'\0'};
char copy[100] = {'\0'};
while(cin.getline(hh,100))
{
for(int i=0;hh[i]!='\0';i++)
{
copy[i] = hh[i]-7;
}
for(int i=0;copy[i]!='\0';i++)
{
cout<<copy[i];
}
cout<<"\n";
}
return 0;
}