#include <fstream>
#include <iostream>
#include <cstring>
using namespace std;
int main()
{
ifstream fin("date.in");
char s[257];
bool cuvant = false;
int last;
fin.getline(s,255);
for(int i = 0; i < strlen(s); i++)
{
if(s[i] >= 'a' && s[i] <= 'z' || s[i] >= 'A' && s[i] <= 'Z')
{
if(!cuvant) cuvant = true;
last = i;
}
else
{
if(cuvant) s[last] = '8';
}
}
cout<<s;
}