Problem:
 Score : 100 points    Problem Statement On some day in January 2018 , Takaki is writing a document. The document has a column where the current date is written in yyyy/mm/dd format. For example, January 23 , 2018 should be written as 2018/01/23 .  After finishing the document, she noticed that she had mistakenly wrote 2017 at the beginning of the date column. Write a program that, when the string that Takaki wrote in the date column, S , is given as input, modifies the first four characters in S to 2018 and prints it.      Constraints  S is a string of length 10 .  The first eight characters in S are 2017/01/ .  The last two characters in S are digits and represent an integer between 1 and 31 (inclusive).         Input Input is given from Standard Input in the following format:  S       Output Replace the first four characters in S with 2018 and print it.        Sample Input 1 2017/01/07      Sample Output 1 2018/01/07       Sample Input 2 2017/01/31      Sample Output 2 2018/01/31

Solution (Python):
S = input()

print('2018' + S[4:])

Solution (Python):
s=input()

print('2018'+s[4:10])

Solution (Python):
S = [i for i in input()]
S[3] = '8'
print(''.join(S))

Solution (Python):
s=input()
c=""
for i in range(len(s)):
  if i==3:
    c+="8"
  else:
    c+=s[i]
print(c)

Solution (Python):
s=input()
s=s.replace("2017","2018")
print(s)

Solution (Python):
S = input()
print(S[:3] + "8" + S[4:])

Solution (Python):
S = input()
print(S[: 3] + "8" + S[4:])

Solution (Python):
S = input()
S = S.replace('2017', '2018')
print(S)

Solution (Python):
y, m, d = input().split('/')

print("2018/01/", end='')
print(d)

Solution (Python):
s = input()
print(s[:3]+'8'+s[4:])

Solution (Python):
s = input()
print("2018" + s[4:])

Solution (Python):
s = list(input())
s[3] = "8"
print("".join(s))

Solution (Python):
s  = input()

print(s[0:3]+'8'+s[4:10])

Solution (Python):
S = input()
print(S.replace('2017', '2018'))

Solution (Python):
S = input()

SS = S.replace("2017","2018")

print(SS)

Solution (Python):
s=input()

print("2018"+s[4:])

Solution (Python):
s = input()
s = s[0:3] + '8' + s[4:]
print(s)

Solution (Python):
S = input()

print(S.replace('2017', '2018'))

Solution (Python):
print(str(input()).replace("2017","2018"))

Solution (Python):
y, m, d = input().split('/')
y = '2018'
print(y + '/' + m + '/' + d)

Solution (Python):
s = input()

print("2018/01/" + s[-2:])

Solution (Python):

s = input()
print(s.replace("2017","2018"))

Solution (Python):
S = input()

ans = '2018' + S[4:]

print(ans)

Solution (Python):
print("2018"+input()[4:])

Solution (Python):
print(input(2018)[4:])

Solution (Python):
S=input().replace("2017", "2018")

print(S)

Solution (Python):
s=input()
print('2018'+s[4:])

Solution (Python):
S = str(input())
S = S.replace("2017", "2018", 1)
print(S)

Solution (Python):
S = input()
print(S.replace('7', '8', 1))

Solution (Python):
s = input()
t = s.replace("2017","2018")
print(t)

Solution (Python):
s = input()
print('2018'+s[4:])

Solution (Python):
s = input().split("/")
print("2018/01/"+s[2])

Solution (Python):
a =input()
list = a.split('/')
print('2018/' + list[1] + '/' + list[2])

Solution (Python):

S=input()
print("2018"+S[4:])

Solution (Python):
a = input()
print(a.replace("2017", "2018"))

Solution (Python):
print("2018"+input()[4:])

Solution (Python):
n=input().split('/')
print("2018/"+n[1]+'/'+n[2])

Solution (Python):
S = input()

S = list(S)

S[3]="8"

S = "".join(S)

print(S)

Solution (Python):
a=input()
print(a.replace("2017", "2018"))

Solution (Python):
s=input()
print(s.replace("2017","2018"))

Solution (Python):
s=input()
print("2018"+s[4:])

Solution (Python):
print('8'.join(input().split('7',1)))

Solution (Python):
def main():
    print(input().replace('2017', '2018'))


main()

Solution (Python):
S = input()

print('2018'+S[4:])

Solution (Python):
S = input()
print(S[:3]+'8'+S[4:])

Solution (Python):
A=list(input())
a=A[8]
b=A[9]
print("2018/01/"+a+b)

Solution (Python):
s = input()
s = s.replace("2017", "2018")
print(s)

Solution (Python):
S = input()

print('2018' + S[4:])

Solution (Python):
s = input()
print(s.replace('2017', '2018'))

Solution (Python):
date = input()
print(date.replace('2017', '2018'))

Solution (Python):
S = input()
print(S.replace('2017', '2018'))

Solution (Python):
s = input()

print("2018" + s[4:])

Solution (Python):
S = list(input())
S[3] = "8"
print("".join(S))

Solution (Python):
t=list(input())
t[3]="8"
str="".join(t)
print(str)

Solution (Python):
from sys import exit



S = str(input())



print(S[:3] + "8" + S[4:])

Solution (Python):
S = input().split("/")
y = S[0]
m = S[1]
d = S[2]
print("2018/"+m+"/"+d)

Solution (Python):



import sys


s = list(str(input()))
s[3] = '8'
for c in s:
  print(c, end="")
print()

Solution (Python):
s = input().replace('2017', '2018')
print(s)

Solution (Python):
s = input()
print('2018/01/' + s[-2:])

Solution (Python):
S = input()
print(S.replace('2017', '2018'))

Solution (Python):
s = input()
print("2018" + s[4:])

Solution (Python):
S = input()
print(S[:2] + '18' +S[4:])

Solution (Python):
s = input()
print(s.replace('2017', '2018'))

Solution (Python):
S = input()

print(S.replace('2017', '2018'))

Solution (Python):
s=input()
print("2018/01/"+s[-2:])

Solution (Python):
print(input().replace('7','8',1))

Solution (Python):
s = input().split("/")
s[0] = "2018"
ans = "/".join(s)
print(ans)

Solution (Python):
s=input()
print("2018"+s[4:])

Solution (Python):
print(input().replace('7', '8', 1))

Solution (Python):
s = list(input())
s[3] = 8
print(*s, sep="")

Solution (Python):
print("2018/01/" + input()[-2:])

Solution (Python):
s = input()
t = s[:3] + '8' + s[4:]
print(t)

Solution (Python):
S = str(input())
S = S[:3] + "8" + S[4:]
print(S)

Solution (Python):
s=input()
print("2018"+s[4:])

Solution (Python):
s=['2018']
s=s+input().split('/')[1:]
print('/'.join(s))

Solution (Python):
s = input()
print(s.replace('2017','2018'))

Solution (Python):

from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007


def A():
    s = input()[4:]
    print("2018"+s)
    return


def B():
    return


def C():
    n,y = LI()
    for i in range(n+1):
        for j in range(n+1-i):
            k = n-i-j
            if 10000*i+5000*j+1000*k == y:
                print(i,j,k)
                quit()
    print(-1,-1,-1)


def D():
    return


def E():
    return


def F():
    return


def G():
    return


def H():
    return


if __name__ == "__main__":
    A()

Solution (Python):
print(input().replace("2017","2018"))

Solution (Python):
print('2018' + input()[4:])

Solution (Python):


y,m,d = input().split("/")

y = "2018"

print(y + "/" + m + "/" + d)

Solution (Python):
x = input()
x = x[:3] + '8' + x[4:]
print(x)

Solution (Python):
print(input().replace('2017', '2018'))

Solution (Python):
s = input()
print(s.replace("017", "018"))

Solution (Python):
s=input()
print(s[0:3]+'8'+s[4:10])

Solution (Python):
S = input().split('/')
S[0] = '2018'
print('/'.join(S))

Solution (Python):
a=input()
print(a.replace('2017/','2018/'))

Solution (Python):
print(input().replace("2017","2018"))

Solution (Python):
print(input().replace("2017","2018"))

Solution (Python):
a,b,c = input().split('/')
print('2018/'+b+'/'+c)

Solution (Python):
S = input()
ans = "2018" + S[4:]
print(ans)

Solution (Python):
s=input()
print(s[:3]+'8'+s[4:])

Solution (Python):
tmp = raw_input()

print('2018' + tmp[4:])

Solution (Python):
s = str(input())
t = s.replace("2017","2018")
print(t)

Solution (Python):
print(input().replace("2017", "2018"))

Solution (Python):
S=input()
print('2018'+S[4:])

Solution (Python):
print('2018'+input()[4:])

Solution (Python):
S = list(input())
S[3] = '8'
print(''.join(S))

Solution (Python):

S = input()
print(S.replace('2017', '2018'))

Solution (Python):
def solve(string):
    return "2018" + string[4:]


if __name__ == '__main__':
    print(solve(input()))

Solution (Python):

s = input()

print('2018'+s[4:])

Solution (Python):
s=input()
ss=s.replace("7","8",1)
print(ss)

Solution (Python):
S = input()
print('2018' + S[4:])

Solution (Python):
S = input()
S = "2018" + S[4:]
print(S)

Solution (Python):
s = input()
print("2018"+s[4:])

Solution (Python):
S = input()
s = ''
for index,i in enumerate(S):
  if(index == 3):
    s+='8'
  else:
  	s+=i
print(s)

Solution (Python):
str = input()
print('2018/' + str[5:])

Solution (Python):
date = input()
date = date.replace('2017','2018')
print(date)

Solution (Python):
S = str(input())
print(S.replace('7', '8', 1))

Solution (Python):
a=input()

print(a[:3]+'8'+a[4:])

Solution (Python):
p = input()
print(p.replace('2017','2018'))

Solution (Python):
S=input()
print("2018"+S[4:])

Solution (Python):
y,m,d=input().split("/")
y=str(2018)
print(y+"/"+m+"/"+d)

Solution (Python):
print("2018"+input()[4:])

Solution (Python):
S = input()
print(S[0:3] + "8" + S[4:10])

Solution (Python):
s = input()
s_list = s.split("/")
s_list.pop(0)
s_list.insert(0,"2018")
print("/".join(s_list))

Solution (Python):
s = input()
print("2018"+s[4:])

Solution (Python):
print(input(2018)[4:])

Solution (Python):
S = input()
print('2018'+S[4:])

Solution (Python):
flag = 0
a = input().split("/")
del a[0]
a = ["2018",] + a
for i in a:
    flag += 1
    if(flag == 3):
        print(i)
    else:
        print(i,end="/")

Solution (Python):
s=input();print(s[:3]+"8"+s[4:])

Solution (Python):
S = list(input())
S[3] = '8'
print(''.join(S))

Solution (Python):
S = input()

print(S[:3] + "8" + S[4:])

Solution (Python):
s = input()
print('2018' + s[4:])

Solution (Python):
print('2018'+str(input())[4:])

Solution (Python):

a = input()
print(a[0:3] + "8" + a[4:10])

Solution (Python):

s=raw_input()

p=''
for i in range(len(s)):
	if i==3:
		p+='8'
	else:
		p+=s[i]

print(p)

Solution (Python):

y, m, d = map(str, input().split("/"))
y = "2018"
print(y+"/"+m+"/"+d)

Solution (Python):
S = input()
print(S[:3]+"8"+S[4:])

Solution (Python):
s = input()
print(s.replace(s.split('/')[0], '2018'))

Solution (Python):
S=input()
s=S[4:]
print('2018'+s)

Solution (Python):
s = input()
t = s.replace("7", "8", 1)
print(t)

Solution (Python):
print(input().replace('017','018'))

Solution (Python):
s = input()
print('2018'+s[4:])

Solution (Python):
n = input()

print("2018"+n[4:])

Solution (Python):
S = list(input())
S[3] = '8'
print("".join(S))

Solution (Python):
def already_2018(S: str)->str:
    return '2018' + S[4:]


if __name__ == "__main__":
    S = input()
    ans = already_2018(S)
    print(ans)

Solution (Python):
print(input().replace('2017', '2018'))

Solution (Python):
a = input().split("/")
a[0]="2018"
print(a[0]+"/"+a[1]+"/"+a[2])

Solution (Python):
s = input().replace("2017", "2018")
print(s)

Solution (Python):
print(input().replace("2017","2018"))

Solution (Python):
s = input()
s = "2018" + s[4:]

print(s)

Solution (Python):

import sys

def main():
	S = input()
	
	tmp = list(S)
	tmp[:4] = "2018"
	print("".join(tmp))
	
		
if __name__ == "__main__":
	main()

Solution (Python):
s=input()
print("2018"+s[4:])

Solution (Python):
s=list(input())
s[3]=str(8)
print(''.join(s))

Solution (Python):
s = input()
s = "2018" + s[4:]
print(s)

Solution (Python):


import itertools
import collections
import bisect

def main():
    S = input()
    S = S.replace("2017", "2018")
    print(S)

if __name__ == '__main__':
    main()

Solution (Python):
import sys
sys.setrecursionlimit(10**6)
def input(): return sys.stdin.readline()
def read(): return int(input())
def reads(): return [int(i) for i in input().split()]

S = input()
print('2018'+S[4:])

Solution (Python):
S = [i for i in input().split("/")]
S[0] = "2018"
print("/".join(S))

Solution (Python):
s = input()
s = s.replace("2017", "2018")
print(s)

Solution (Python):
s = str(input())
print('2018' + s[4:])

Solution (Python):
s = str(input())
print('2018' + s[4:])

Solution (Python):
s = str(input())
print('2018' + s[4:])

Solution (Python):
s = str(input())
print('2018' + s[4:])

Solution (Python):
s = str(input())
print('2018' + s[4:])

Solution (Python):

s = str(input())
print('2018' + s[4:])

Solution (Python):
import sys

def main():
    input = sys.stdin.readline
    S = str(input().strip())
    print('2018' + S[4:])


if __name__ == '__main__':
    main()

Solution (Python):
s=str(input())
print(s.replace("2017","2018"))

Solution (Python):
S = input().replace("2017", "2018")
print(S)

Solution (Python):
s = input()
sl = list(s)
sl[3] = '8'
print("".join(sl))

Solution (Python):
s=list(input())
s[3]="8"
print("".join(s))

Solution (Python):
lst = input().split('/')
print("2018/" + lst[1] + "/" + lst[2])

Solution (Python):
a=input()
a=a.replace("2017","2018")
print(a)

Solution (Python):
s = input().rstrip()

s1 = s.replace("2017", "2018") if s.startswith("2017") else s
print(s1)

Solution (Python):
s = input().rstrip()

s1 = "2018" + s[4:] if s.startswith("2017") else s
print(s1)

Solution (Python):
day = input()
day = day.replace('2017','2018')
print(day)

Solution (Python):
def main():
    S = input()
    print("2018" + S[4:])


if __name__ == "__main__":
    main()

Solution (Python):
s=str(input())
print('2018'+s[4:10])

Solution (Python):
S=input().split("/")
S[0]="2018"
print("/".join(S))

Solution (Python):
print("2018"+input()[4:])

Solution (Python):
s = input().split("/")
print("/".join(["2018", s[1], s[2]]))

Solution (Python):
s = input().split('/')
s[0] = '2018'
print(s[0]+'/'+s[1]+'/'+s[2])

Solution (Python):
s = input()
s = s.replace('7','8',1)
print(s)

Solution (Python):
S = input()
S = S.replace("2017/01", "2018/01")
print(S)

Solution (Python):
s = input().replace("2017", "2018")
print(s)

Solution (Python):
print('2018'+input()[4::])

Solution (Python):
print("2018"+input()[4:])

Solution (Python):

S = list(input())
S[3] = '8'
print(''.join(S))

Solution (Python):
print("2018" + input()[4:])

Solution (Python):
s = list(input())
s[3] = '8'
for c in s:
    print(c, end = '')
print()

Solution (Python):
print("2018"+input()[4:])

Solution (Python):
S = input()
print("2018" + S[4:len(S)])

Solution (Python):
s=list(str(input()))
s[0]="2"
s[1]="0"
s[2]="1"
s[3]="8"
print("".join(s))

Solution (Python):
s = list(input())
s[3] = "8"

for i in range(10):
    print(s[i], end="")

Solution (Python):
S = raw_input()
print "2018"+S[4:]

Solution (Python):
s = input()
print("2018" + s[4:])

Solution (Python):
s = input()
print("2018/01/" + s[8:])

Solution (Python):
print("2018/01/" + input()[-2:])

Solution (Python):
a=str(input())
k = ""
ss = list(a)
ss[3] = "8"
str(ss)
for i in range(len(ss)):
  k += ss[i]
print(k)

Solution (Python):
print(input().replace('17/','18/'))

Solution (Python):
print(input().replace('2017','2018'))

Solution (Python):
from sys import stdin

s=stdin.readline().rstrip()
print(s.replace('2017', '2018'))

Solution (Python):
print("2018" + input()[4:])

Solution (Python):
S = input()

ans = S.replace("2017", "2018")

print(ans)

Solution (Python):
print(input().replace("17","18"))

Solution (Python):
print(input().replace("2017","2018"))

Solution (Python):
s = input()
print(s.replace("2017", "2018"))

Solution (Python):
a=input()
print("2018"+a[4:])

Solution (Python):
print(input().replace('2017','2018'))

Solution (Python):
print("2018"+input()[4:])

Solution (Python):
str2017 = input()
str2017 = str2017.replace('2017', '2018')
print(str2017)

Solution (Python):
print("2018"+input()[4:])

Solution (Python):
s=input()
t=s[4:10]
u=str(2018)
print(u+t)

Solution (Python):
print(input(2018)[4:])

Solution (Python):
print(input().replace('2017','2018'))

Solution (Python):
S = input()

ans = S[0:3] + "8" + S[4:]

print(ans)
print()

Solution (Python):
a,b,c=input().split("/");print("2018/"+b+"/"+c)

Solution (Python):
print("2018/01/" + input()[-2:])

Solution (Python):

"""
Created on Mon Feb 25 00:13:32 2019

@author: yuta
"""

print(input().replace('2017','2018'))

Solution (Python):
print("2018/01/" + input()[-2:])

Solution (Python):
S = input()
print(S.replace('2017', '2018'))

Solution (Python):
S = input()
print(S.replace('2017','2018'))

Solution (Python):
S = input()

S = S[:3] + '8' + S[4:]

print( S )

Solution (Python):
s=input().split("/")
print("2018"+"/"+s[1]+"/"+s[2])

Solution (Python):
s=input()
print(s[:3]+'8'+s[4:])

Solution (Python):
S = list(input())
S[3] = "8"
print("".join(S))

Solution (Python):
s = input()

print(s.replace("2017", "2018"))

Solution (Python):
import bisect
import numpy as np
import sys
input = sys.stdin.readline
def IL(): return list(map(int,input().split()))
def SL(): return input().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

s = S()

print("2018"+s[4:])

Solution (Python):
print('2018'+input()[4:])

Solution (Python):
s=list(input())
s[3]='8'
print(''.join(s))

Solution (Python):
print(input().replace('2017','2018'))

Solution (Python):
s=input()
print(s.replace('2017','2018'))

Solution (Python):
print(input().replace("2017", "2018"))

Solution (Python):
print('2018'+input()[4::])

Solution (Python):
s = list(input().split('/'))
print('2018/'+s[1]+'/'+s[2])

Solution (Python):
S = list(input())
S[3] = "8"
text = ""
for i in S:
    text += i
print(text)

Solution (Python):
date = list(input())
date[3] = "8"
print("".join(date))

Solution (Python):
s=input()
print("2018"+s[4:])

Solution (Python):
s = list(input())
s[3] = '8'
print(''.join(s))

Solution (Python):
array = list(input())

array[3] = "8"

s = "".join(array)
print(s)

Solution (Python):
S=input()
S='2018'+S[4:]
print(S)

Solution (Python):
print(str(input()).replace("2017","2018"))

Solution (Python):
s = str(input())
d = s.replace("2017","2018")
print(d)

Solution (Python):
print("2018"+input()[4:])

Solution (Python):
hoge=input()
print(hoge.replace("7", "8", 1))

Solution (Python):
s = input()
s = s.replace("2017", "2018")
print(s)

Solution (Python):
s=input()
print(s.replace("7","8",1))

Solution (Python):
S = input().replace("2017","2018")
print(S)

Solution (Python):
print(input().replace('2017', '2018'))

Solution (Python):
str_s = input()
print('2018' + str_s[4:])

Solution (Python):
S = input()
S = S.replace("2017","2018")
print(S)

Solution (Python):
s=input()
print(s[:3]+"8"+s[4:])

Solution (Python):


S = input().split('/')
S[0] = '2018'
print('/'.join(S))

Solution (Python):
s = str(input())
print('2018'+s[4:])

Solution (Python):
s = str(input())
print('2018/'+s[5]+s[6]+s[7]+s[8]+s[9])

Solution (Python):
a,b,c = input().split("/")
print("2018/" + b + "/" + c )

Solution (Python):
S = input()
print(S.replace("2017/", "2018/", 1))

Solution (Python):
i = input()
print(i[:3] + '8' + i[4:])

Solution (Python):
date = input()
print("2018"  + date[4:])

Solution (Python):
s = input()
print("2018"+s[4:])

Solution (Python):
year, month, day = input().split('/')

if year == '2017' :
    year = '2018'

print('{}/{}/{}'.format(year, month, day))

Solution (Python):
""" AtCoder """

S = input()

print('2018/01/' + S[-2:])

Solution (Python):
s = input()
s = s.replace('2017', '2018')
print(s)

Solution (Python):
s=list(input())
s[3]='8'
print(''.join(s))

Solution (Python):
s=input()
print(s[:3]+'8'+s[4:])

Solution (Python):
S=input()
if S[3]=='7':
    print("201",end='')
    print("8",end='')
    for i in range(4,10):
        print(S[i],end='')
else:
    print(S)

Solution (Python):



S = list(input())

answer = "2018/01/"+S[-2]+S[-1]
print(str(answer))

Solution (Python):
S = input()
if S[:4] == '2017':
    S = S.replace('2017', '2018')
    
print(S)

Solution (Python):
s = input()
print(s.replace("2017", "2018"))

Solution (Python):
s = list(input())
s[3] = '8'
print(''.join(s))

Solution (Python):
S=input().split('/')
print('2018/'+S[1]+'/'+S[2])

Solution (Python):
s=input()
print('2018'+s[4:])

Solution (Python):
a,b,c=input().split('/')
print('2018/'+b+'/'+c)

Solution (Python):
S = input()
print("2018"+S[4:])

Solution (Python):
S = list(map(int, input().split('/')))
print("2018/%02d/%02d" % (S[1], S[2]))

Solution (Python):
print("2018"+input()[4:])

Solution (Python):
s = input()
print("2018"+s[4::])

Solution (Python):

d = input()
d2 = d[:3] + '8' + d[4:]
print(d2)

Solution (Python):
s = input()
print("2018"+s[4::])

Solution (Python):
S = str(input())
S = list(S)
T = S[8]+S[9]
print("2018/01/"+T)

Solution (Python):


import re

print(re.sub(r'\d{4}', '2018', input()))

Solution (Python):
s=input()
print("2018"+s[4:])

Solution (Python):
S = input().split("/")
print("2018/01/"+S[2])

Solution (Python):
a = input()
s = ""
for i in range(len(a)):
    if i == 3:s+="8"
    else:s+=a[i]
print(s)

Solution (Python):
print(input().replace("2017","2018"))

Solution (Python):
print(input().replace('2017','2018'))

Solution (Python):
s=input()
print(s[0:3]+"8"+s[4:])

Solution (Python):

import sys
import re

s = input()
if re.match('2017', s) :
    s = re.sub('2017', '2018', s)

print(s)

Solution (Python):
S = input()
for i in range(len(S)):
    if i == 3:
        print('8', end='')
    else:
        print(S[i], end='')

Solution (Python):
date = input(str())
print(date.replace("2017", "2018", 1))

Solution (Python):
S=input()
T=S[:3]+'8'+S[4:]
print(T)

Solution (Python):
S = input().replace('2017','2018')
print(S)

Solution (Python):
print('2018'+input()[4:])

Solution (Python):
print(input().replace("2017","2018"))

Solution (Python):
s = input()
print("2018/" + s[5:])

Solution (Python):
S = str(input())
print(S[0:3]+"8"+S[4:])

Solution (Python):
print("2018/01/" + input()[-2:])

Solution (Python):
S = input()
print("2018" + S[4:])

Solution (Python):
import sys

lines = sys.stdin.readlines()

for n, c in enumerate(lines[0]):
  if n == 0:
  	res = '2'
  elif n == 1:
    res += '0'
  elif n == 2:
    res += '1'
  elif n == 3:
    res += '8'
  else:
    res += c
print(res)

Solution (Python):
x = input()
print('2018/01/' + x[-2:])

Solution (Python):
S = list(input())
a = ''
for i in range(len(S)):
    if(i!=3):
        a+=S[i]
    else:
        a+=str(8)
print(a)

Solution (Python):
a,b,c=input().split("/")
print("2018/{}/{}".format(b,c))

Solution (Python):


def main():
    S = input()

    S = S[0:3] + '8' + S[4:]

    print(S)


if __name__ == '__main__':
    main()

Solution (Python):
s =list(input())
s[0:4]=["2","0","1","8"]
t = "".join(s)
print(t)

Solution (Python):
S = input()
print(S.replace('2017/', '2018/'))

Solution (Python):
s=list(input())
s[3]='8'
for i in range(len(s)):
    print(s[i],end='')

Solution (Python):
def abc085_a():
    s = input()
    print(s[:2] + "18" + s[4:])


abc085_a()

Solution (Python):
S = input()
print("2018/01/" + S[-2:])

Solution (Python):
s = input().rstrip()
print('2018' + s[4:])

Solution (Python):
s = list(input());
result = '';
s[3] = '8';
for x in s:
    result += x;
print(result);

Solution (Python):
s = list(input());
s[3] = '8';
s = "".join(s); 
print(s);

Solution (Python):
s=input()
print("2018"+s[4:])

Solution (Python):
s=list(input())
s[3]="8"
S="".join(s)
print(S)

Solution (Python):
def main():
    s = input()
    print('2018' + s[4:])


if __name__ == '__main__':
    main()

Solution (Python):
s = input()
print('2018'+s[4:])

Solution (Python):
ymd = ''
s = str(input())
for i in s.split('/'):
  if i == '2017':
    i = '2018'
  ymd = ymd + i + '/'
ymd = ymd[:-1]
print(ymd)

Solution (Python):
s = input()
s = s[0:3]+'8'+s[4:]
print(s)

Solution (Python):

S = raw_input()
if '2017' in S: S = S.replace("2017","2018")
print S

Solution (Python):
s = input()
print(s.replace('2017', '2018'))

Solution (Python):
n=input()
print('2018/01/'+n[-2]+n[-1])

Solution (Python):
s = str(input())
print('2018' + s[4:])

Solution (Python):
S = input()
print(str(2018) + S[4:])

Solution (Python):

S = str(input())
T = S.replace("2017","2018")
print(T)

Solution (Python):
S = input()

print(S.replace("2017","2018"))

Solution (Python):
s = input()
print(s[:3]+"8"+s[4:])

Solution (Python):
print('2018'+input()[4:])

Solution (Python):
S = input().strip().split("/")
S[0] = '2018'
print('/'.join(S))

Solution (Python):

s = input()
print(s[:3]+"8"+s[4:])

Solution (Python):
s = input()

updated = s[:3] + "8" + s[4:]
print(updated)

Solution (Python):

print(input().replace('2017', '2018'))

Solution (Python):
S=input()
print("2018/"+S[5:])

Solution (Python):




def change2018(s):
	replaceStr=s.replace("2017","2018")
	return replaceStr


if __name__ == '__main__':
	problemStr=input()
	answerStr=change2018(problemStr)
	print(answerStr)

Solution (Python):
print(input().replace("2017","2018"))

Solution (Python):
s = input()
fixed = s[:3] + '8' + s[4:]
print(fixed)

Solution (Python):
input_line = list(input())
input_line[3] = '8'
print(''.join(input_line))

Solution (Python):
s = input()
print("2018"+s[4::])

Solution (Python):
s=input()
ans=s.replace('2017','2018')
print(ans)

Solution (Python):
S = list(input())
S[3] = "8"
print("".join(S))

Solution (Python):
s = input()
updated = s[:3] + '8' + s[4:]
print(updated)

Solution (Python):
str = input()
ans = '2018'+str[4:10]
print(ans)

Solution (Python):
a = list(input())
a[3] = '8'
print("".join(a))

Solution (Python):
S = input()
print('2018' + S[4:])

Solution (Python):


if __name__ == "__main__":
    s = str(input())

    print(s.replace("2017", "2018"))

Solution (Python):
a = input()
a=a.replace('2017','2018')
print(a)

Solution (Python):
print(input().replace('2017', '2018'))

Solution (Python):
s = input()

t = s.replace('2017','2018')
print(t)

Solution (Python):
print( input().replace('017','018'))

Solution (Python):
S = input()
S = S.replace('017', '018')
print(S)

Solution (Python):
S = input()

S = S.replace('2017', '2018')

print(S)

Solution (Python):
print(input().replace('17','18'))

Solution (Python):
s = input()
print(s.replace("2017", "2018", 1))

Solution (Python):
n = input()
out = ""
for i in range(len(n)):
    if i == 3:
        out += "8"
    else:
        out += n[i]
print(out)

Solution (Python):
S = input()
print('2018/01/'+S[-2::])

Solution (Python):
a=input()

b=list(a)

b[3]="8"

c="".join(b)

print(c)

Solution (Python):
S = input()
print('2018' + S[4:])

Solution (Python):
s = input()
c = ""
for i in range(len(s)):
  if i != 3:
    c += s[i]
  else:
    c += "8"

print(c)

Solution (Python):
s = input().split('/')
print('2018/{}/{}'.format(s[1],s[2]))

Solution (Python):
print(input().replace("017","018"))

Solution (Python):
S=input()
S=S.replace("2017","2018")
print(S)

Solution (Python):
s = input()

print(s.replace("2017","2018"))

Solution (Python):
print('2018'+input()[4:])

Solution (Python):
print(input().replace('7','8',1))

Solution (Python):
a=input()
print(a.replace('2017','2018'))

Solution (Python):
a = list(input())
a[3] = "8"
print("".join(a))

Solution (Python):
s = input()
s = '2018' + s[4:]
print(s)

Solution (Python):
S = input()

print('2018' + S[4:])

Solution (Python):
S=input()

print("2018"+S[4:])

Solution (Python):
date = input().split('/')
print('2018/' + date[1] + '/' + date[2])

Solution (Python):
S = input()
print(S.replace("2017","2018"))

Solution (Python):
a=input()
b=a.replace("2017","2018")
print(b)

Solution (Python):



S = input()

print(S[:3]+'8'+S[4:])

Solution (Python):
a = [c for c in input()]
a[3] = '8'
print(''.join(a))

Solution (Python):
S = input()
print(S[:3]+'8'+S[4:])

Solution (Python):
print('2018'+input()[4:])

Solution (Python):
S  = list(input())
S[3] = '8'
s = "".join(S)
print(s)

Solution (Python):
s=input()
print("2018", end="")
print(s[4:])

Solution (Python):
S = raw_input()
MISSED_IDX = 3
res = list(S)
res[MISSED_IDX] = '8'

print "".join(res)

Solution (Python):
S = list(input())

S[3] = '8'

print("".join(S))

Solution (Python):
print('2018'+input()[4:])

Solution (Python):
print(input().replace('017', '018'))

Solution (Python):
i = input()

print(i[:4].replace("2017", "2018"+i[4:]))

Solution (Python):
date=input()

date="2018"+date[4:]
print(date)

Solution (Python):
import sys

n = raw_input()
print(n.replace("2017","2018"))

Solution (Python):
s = raw_input()
s = s.replace("2017","2018")
print s

Solution (Python):
import re
S = list(raw_input())
S[3] = "8"
out = ""
for s in S:
  out += s
print out

Solution (Python):
print(input().replace("2017","2018"))

Solution (Python):
S = input()

print(S.replace('2017', '2018'))

Solution (Python):
S = input()
s = list(S)
s[3] = '8'
print(''.join(s))

Solution (Python):
S = input()
print('2018'+(S.lstrip('2017')))

Solution (Python):
print("2018"+input()[4:])

Solution (Python):
s=input()
print('2018'+s[4:])

Solution (Python):
print(input().replace('2017','2018'))

Solution (Python):
a=str(input())
if a[:8]=="2017/01/":
    A="2018/01/"+a[-2:]
    print(A)
else:
    print(a)

Solution (Python):
s = list(input())
s[3]="8"
print("".join(s))

Solution (Python):
S = input()

print(S[:3]+"8"+S[4:])

Solution (Python):
s = input()
print(s[:3]+"8"+s[4:])

Solution (Python):
s = input()

print(s.replace("2017", "2018"))

Solution (Python):
s = list(input())
s[3] = '8'
print(''.join(s))

Solution (Python):
import math as M
date=input().split('/')
date[0]="2018"
ans=""
for i in range(3):
   ans+=date[i]
   if i!=2:
       ans+="/"
print(ans)

Solution (Python):
a=list(input())
a[3]="8"
b="".join(a)
print(b)

Solution (Python):

print(input().replace("2017", "2018"))

Solution (Python):
print(input().replace("017", "018"))

Solution (Python):
s=input()
s=s.replace(s[3],'8',1)
print(s)

Solution (Python):
S = input()
print(S.replace("2017", "2018"))

Solution (Python):
print(input().replace('7/','8/'))

Solution (Python):
print(input().replace('2017', '2018'))

Solution (Python):


s  = input()
s=s.replace("2017", "2018")
print(s)

Solution (Python):
listS=list(input())
listS[3]="8"
print("".join(listS))

Solution (Python):
s = input()
print("2018" + s[4:])

Solution (Python):
print(input().replace("2017", "2018"))

Solution (Python):
S = list(input())
S[3] = "8"
print("".join(S))

Solution (Python):
S = input().split("/")
S[0] = "2018"
print("/".join(S))

Solution (Python):
a = input()
b = list(a)
b[0] = '2'
b[1] = '0'
b[2] = '1'
b[3] = "8"
c  = ''.join(b)
print(c)

Solution (Python):
S = input()
if S[3] == "7":
    print(S.replace("2017", "2018"))

Solution (Python):
print(input().replace('2017','2018'))

Solution (Python):
s = input()

s8 = int(s[8])
s9 = int(s[9])


print("2018/01/" + str(s8) + str(s9))

Solution (Python):
s = input()
print(s.replace('2017','2018'))

Solution (Python):
s = input()
print(s.replace('2017', '2018'))

Solution (Python):
s = str(input())
list_s = list(s)
list_s[3] = "8"
ans = "".join(list_s)
print(ans)

Solution (Python):
s = input()

print('2018'+s[4:])

Solution (Python):
s = input()
print("2018"+s[4:])

Solution (Python):
s =input()

print(s[:3] + '8' + s[4:])

Solution (Python):
s = input()
print("2018" + s[4:])

Solution (Python):
s = input()
print('2018/01/' + s[-2:])

Solution (Python):
print('2018/01/'+input()[8:])

Solution (Python):
print('2018/01/'+input()[-2:])

Solution (Python):
print("2018/01/" + input()[-2:])

Solution (Python):
S = list(input())
S[3] = '8'
print(''.join(S))

Solution (Python):
S = input()

ans = '2018' + S[4:]
print(ans)

Solution (Python):
a = input()
print(a.replace("2017","2018"))

Solution (Python):
S = input()
T = S.replace('2017','2018')
print(T)

Solution (Python):
s = input()
print("2018" + s[4:])