#include <stdio.h>

int main(){
	int x;
	int y;
	int z;
	scanf("%d/%d/%d",&x , &y ,&z);
	printf ("%d/%02d/%02d",x+1,y,z);
	
	return 0;
}
#include <iostream>
#include <string>
using namespace std;

int main()
{
	string s;
	cin >> s;

	cout << s.replace(3, 1, "8") << endl;
}

