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):
import datetime

S = input()
fmt = "%Y/%m/%d"
dt = datetime.datetime.strptime(S, fmt).replace(year=2018)
print(dt.strftime(fmt))

Solution (Python):
from sys import stdin

value = stdin.readline().rstrip()
output = value[:3] + value[3].replace('7', '8') + value[4:]
print(output)

Solution (Python):
import datetime
S = str(input())
date_format = datetime.datetime.strptime(S,'%Y/%m/%d')
print('2018/'+str(date_format.strftime("%m/%d")))

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

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

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

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

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

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

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

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

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

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

Solution (Python):
if __name__ == '__main__':

	S = input()

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

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

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

Solution (Python):
s = input()

sr=s.replace(s[0:4], '2018')

print(sr)

Solution (Python):
s = input()

sl = s.split('/')
sl[0] = '2018'

ans='/'.join(sl)
print(ans)

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

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

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

Solution (Python):
s = input()
s = '2018' + s[4:]
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()
print(s[0:3]+'8'+s[4:10])

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

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

Solution (Python):

import math


S = str(input())


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

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

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

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

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

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

Solution (Python):
s = list(input())
for i in range(len(s)):
  if i == 3:
    s[i] = "8"
print("".join(s))

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

s[3] = '8'

print(''.join(s))

Solution (Python):
S = input()

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

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(S.replace("2017/", "2018/", 1))

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

Solution (Python):
from sys import stdin
from itertools import combinations
from math import factorial
import numpy as np
import math

s = stdin.readline().rstrip()

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

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

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

Solution (Python):
def examA():
    St = S()
    ans = "2018" + St[4:]
    print(ans)


import sys,copy,bisect,itertools,heapq,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def S(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

examA()

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

Solution (Python):
s = input()

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

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

Solution (Python):
S = input()

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

Solution (Python):
S = input()

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

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

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

Solution (Python):

import sys
input = sys.stdin.readline


S = input().rstrip()

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

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

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

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

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")

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

main()

Solution (Python):
def main():
  yyyy, mm, dd = input().split('/')
  print('2018/' + mm + '/' + dd)
  
main()

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

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

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

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

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

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

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

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

Solution (Python):

S = input()
print("2018/01/"+S[8:10])

Solution (Python):
import sys








def main():
    s = list(sys.stdin.readline().rstrip())
    s[3] = '8'
    print(''.join(s))


if __name__ == "__main__":
    
    main()

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

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

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

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

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

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

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

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

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

Solution (Python):
s = input()

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

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

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

Solution (Python):

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

Solution (Python):

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

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

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

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

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

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

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

alternate = '2018'

for i, alt in enumerate(alternate):
  S[i] = alt

S = ''.join(S)
print(S)

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

y=int(y)
y+=1
y=str(y)
print(y+'/'+m+'/'+d)

Solution (Python):
S = [i for i in input().split("/")]
if S[0] == "2017":
    print("2018/"+S[1]+"/"+S[2])

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

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

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

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

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

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

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

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

Solution (Python):
"""
author : halo2halo
date : 25,Oct,2019
"""

import sys
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

N = readline().rstrip()

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

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

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

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

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

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

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

Solution (Python):

S = input()

ans = "2018/"

for i in range(5,10):
    ans = ans + S[i]

print(ans)

Solution (Python):



import unittest
from io import StringIO
import sys


def input():
    return sys.stdin.readline().rstrip()


def resolve():
    S = input()
    print(S[0:3]+"8"+S[4:])


class TestClass(unittest.TestCase):
    def assertIO(self, input, output):
        stdout, stdin = sys.stdout, sys.stdin
        sys.stdout, sys.stdin = StringIO(), StringIO(input)
        resolve()
        sys.stdout.seek(0)
        out = sys.stdout.read()[:-1]
        sys.stdout, sys.stdin = stdout, stdin
        self.assertEqual(out, output)

    def test_入力例_1(self):
        input = """2017/01/07"""
        output = """2018/01/07"""
        self.assertIO(input, output)

    def test_入力例_2(self):
        input = """2017/01/31"""
        output = """2018/01/31"""
        self.assertIO(input, output)


if __name__ == "__main__":
    
    resolve()

Solution (Python):
s=input()
print('2018{}'.format(s[4:]))

Solution (Python):
S = input()

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

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

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

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

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

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

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

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

Solution (Python):

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

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

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

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

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

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

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

Solution (Python):


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

Solution (Python):
S = input()

L = ["2018"]
for i in range(6):
    L += S[i+4]
    
ans = "".join(L)
print(ans)

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

ans=[]

for i in range(len(S)):
  if i != 3:
    ans.append(S[i])
  else:
    ans.append(8)
    
print(''.join(map(str, ans)))

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

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

Solution (Python):
s = input().split("7/")
print(s[0]+"8/"+s[1])

Solution (Python):
s = list(map(int, input().split("/")))

s[0] = 2018

if s[2] >= 10:
    a = str(s[0]) + "/0" + str(s[1]) + "/" + str(s[2])
    print(a)
else:
    a = str(s[0]) + "/0" + str(s[1]) + "/0" + str(s[2])
    print(a)

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

Solution (Python):
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    S=STR()
    S2=S.replace('2017', '2018')
    print(S2)
if __name__ == '__main__':
    do()

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

Solution (Python):
s_list = list(input().split('/'))

if s_list[0] != '2018':
    s_list[0] = '2018'

s = '/'.join(s_list)

print(s)

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

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

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

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

Solution (Python):
day = list(input().split('/'))
day[0] = '2018'
print(day[0],day[1],day[2],sep=('/'))

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

Solution (Python):
S = input()

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

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

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', 1))

Solution (Python):
S = input()

print('2018'+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()
S = S.replace('2017', '2018')
print(S)

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

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

Solution (Python):
S = input()

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

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

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

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

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

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

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

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

Solution (Python):
s = list(x for x in input())
s.pop(3)
s.insert(3, '8')
ans = ''
for i in range(len(s)):
  ans += s[i]
print(ans)

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

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

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

print("".join(s))

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

Solution (Python):
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    
print("2018"+input()[4:])

Solution (Python):
S = input()
for i, c in enumerate(S):
    if i == 3:
        print("8", end="")
    else:
        print(c, end="")

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

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

Solution (Python):
def slove():
    import sys
    input = sys.stdin.readline
    s = str(input().rstrip('\n'))
    print(s.replace("2017/", "2018/"))


if __name__ == '__main__':
    slove()

Solution (Python):
import sys

input = sys.stdin.readline


def main():
    print("/".join(["2018" if i == "2017" else i for i in input().split("/")]))


if __name__ == "__main__":
    main()

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

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

Solution (Python):
S=input().split('/')

print('2018/'+S[1]+'/'+S[2])

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):

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

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

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

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

Solution (Python):
S=input()


U=list(S)
U[3]='8'

a=''
for i in U:
    a+=i
print(a)

Solution (Python):
import datetime

S = datetime.datetime.strptime(input(), '%Y/%m/%d')
print('2018/01/' + str(S.day).zfill(2))

Solution (Python):
import sys
input = sys.stdin.readline

s = list(input().strip())
s[3] = 8

a = map(str,s)
a = ''.join(a)
print(a)

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

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

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

Solution (Python):
s = input()

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

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

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

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

Solution (Python):
from sys import stdin
S = (stdin.readline().rstrip())
S = "2018" + S[4:]
print(S)

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

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

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

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

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

Solution (Python):
year, month, day = input().split('/')
year_int = int(year) + 1

print('%s/%s/%s' % (year_int, month, day))

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

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

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

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

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

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

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

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

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

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



if __name__ == "__main__":
    main()

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

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

Solution (Python):
s = input()

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

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

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

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

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

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

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

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

Solution (Python):
s = input()
print("2018" + 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().strip())
s[3] = '8'
print(''.join(s))

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

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

Solution (Python):
def main():

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


if __name__ == "__main__":
    main()

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

Solution (Python):
S = str(input())
S = list(S)
S[3] = '8'

for i in S:
    print(i,end='')

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

Solution (Python):

S = list(str(input()))
S[3] = "8"
answer = "".join(S)
print(answer)

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

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

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

Solution (Python):

def main():
	string = input()
	string = string.replace("2017", "2018")
	print(string)
 
 
if __name__ == "__main__":
	main()

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

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

Solution (Python):
S = input()

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

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

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

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

Solution (Python):
S = input()
year, month, day = S.split('/')
year = '2018'
print(year + '/' + month + '/' + day)

Solution (Python):
n = input()

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

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

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

Solution (Python):

s = input()

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

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

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

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

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

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

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

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

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

Solution (Python):
print('2018{}'.format(input()[4:]))

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

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

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

Solution (Python):
S = input()

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

Solution (Python):
s = input()

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

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

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()
ans = s.split("/")
ans[0] = "2018"
ans = "/".join(ans)
print(ans)

Solution (Python):
s = input()

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

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

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

Solution (Python):
from datetime import datetime,date,time
s = input()
missDate = datetime.strptime(s,'%Y/%m/%d')
print(missDate.replace(year=2018).strftime('%Y/%m/%d'))

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

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

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

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

Solution (Python):
X = input().split('/')
year, month, day = '2018', X[1], X[2]
joint = '/'
s = joint.join([year, month, day])
print(s)

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

Solution (Python):
s = input()

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

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

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

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

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

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

Solution (Python):
date = input()

date = date.replace("2017","2018")
print(date)

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

Solution (Python):
s = str(input())
slist = list(s)
if len(slist) == 10:
    slist[3] = "8"
    print("".join(slist))
else:
    print('hoge!')

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

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

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

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

Solution (Python):
S = input()

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

Solution (Python):
import re

S = input()
print(re.sub(r'^.{4}', '2018', S))

Solution (Python):
import sys
from statistics import *
from collections import *
from operator import itemgetter

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

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

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

Solution (Python):

line = input().split("/")
line[0] = "2018"
ans = "/".join(line)
print(ans)

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

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

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

Solution (Python):
s = input()
print('2018{}'.format(s[4:]))

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

Solution (Python):
s = input()

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

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

Solution (Python):


s = list(input())

s[0],s[1],s[2],s[3]="2","0","1","8"

print("".join(s))

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

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


if __name__ == "__main__":
    resolve()

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

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

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

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

Solution (Python):
S = input()

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

print(A)

Solution (Python):
a = input()

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

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

Solution (Python):


year, month, day = input().split("/")

print("{}/{}/{}".format("2018", month, day))

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

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

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

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

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

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

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

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

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

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

s[0:4] = ['2', '0', '1', '8']

s = ''.join(s)

print(s)

Solution (Python):
s = input()

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

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

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

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

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

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

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

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

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

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

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

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

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

if __name__ == '__main__':
    print(main())

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

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

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

Solution (Python):
s=input()

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

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

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

Solution (Python):
import sys
sys.setrecursionlimit(10**7)
def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x) - 1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def II(): return int(sys.stdin.readline())
def SI(): return sys.stdin.readline().strip()
INF = 10 ** 18
MOD = 10 ** 9 + 7

from functools import lru_cache


def main(): 
    S = SI()

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




main()

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

Solution (Python):
S = input()

print("2018" + 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(s[:3]+"8"+s[4:])

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

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

Solution (Python):
import collections


def main():
    S = input()
    print(S.replace('7','8',1))

    


if __name__== "__main__":
    main()

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

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

Solution (Python):
if __name__ == '__main__':
    y, m, d = map(str, input().split('/'))
    if int(y) == 2017:
        y = str(2018)
    print('/'.join([y, m, d]))

Solution (Python):
def test():
    d = input()
    if "2017" in d:
        print(d.replace("2017","2018"))


if __name__ == "__main__":
    test()

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

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

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

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

Solution (Python):
s = input();

s = s[:3] + "8" + s[4:]

print(s)

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

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

Solution (Python):
a = input()

b = a.replace('2017', '2018') 

print(b)

Solution (Python):
s = input()

s = s.replace('7', '8', 1)

print(s)

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

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

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

Solution (Python):

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

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

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

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

print(S_changed)

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

Solution (Python):
day = input()

day = day.replace("2017","2018")

print(day)

Solution (Python):
print("".join([c if i!=3 else '8' for i,c in enumerate(input())]))

Solution (Python):








print("".join([c if i!=3 else '8' for i,c in enumerate(input())]))

Solution (Python):
s = input()
print("2018{}".format(s[4::]))

Solution (Python):
s =input()

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

Solution (Python):
print("".join([c if i!=3 else '8' for i,c in enumerate(input())]))

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

Solution (Python):
s = input()
slist = list(s)
slist.pop(3)
slist.insert(3, '8')
print(''.join(slist))

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

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

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

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

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

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

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

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

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

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

Solution (Python):
import sys
print("2018" + sys.stdin.readline().rstrip()[4::])

Solution (Python):
Y, M, D = input().split("/")
newY = Y[:3] + "8"
print("/".join([newY, M, D]))

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

print("/".join(S))

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

Solution (Python):

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

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

Solution (Python):
s = input()
if s[:3] != '2018':
  print('2018' + s[4:])
else:
  print(s)

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

s[3]=8

print(*s,sep="")

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

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

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

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