void main(){
  import std.stdio, std.string, std.conv, std.algorithm;

  auto s=readln.chomp.to!(char[]);

  s[3]='8';
  writeln(s);
}

void rd(T...)(ref T x){
  import std.stdio, std.string, std.conv, std.exception;
  auto l=readln.split;
  enforce(l.length==x.length);
  foreach(i, ref e; x){
    e=l[i].to!(typeof(e));
  }
}