import std.stdio;
import std.string;
import std.range;
import std.conv;

void main()
{
	auto S = readln.chomp.to!(char[]);
	S[3] = '8';
	S.writeln;
	//if(S[4] == '7');
	//writeln(S[0],S[1],S[2],8,S[4],S[5],S[6],S[7],S[8],S[9],S[10]);
}