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):
N = input()
if (N[0:5]) == 2018:
    print(N)
else:
    print("2018/"+(N[5:]))

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

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

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

Solution (Python):
S=str(input())
print("2018"+S[4]+S[5]+S[6]+S[7]+S[8]+S[9])

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

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

Solution (Python):
s = input()

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

Solution (Python):
import math

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

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

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

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

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

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

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


if __name__ == "__main__":
    main()

Solution (Python):

import math
import itertools
import statistics
import collections

s = input()

for i in range(len(s)):
    if i==3:
        print("8", end="")
    else:
        print(s[i], end="")

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

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

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

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

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

Solution (Python):
S=input()

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

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

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

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

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

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

Solution (Python):

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

Solution (Python):

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

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

s[3] = '8'
s = ''.join(s)

print(s)

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

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

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

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

date[0] = '2018'

print(date[0] + '/' + date[1] + '/' + date[2])

Solution (Python):
s = input()

ans = "2018/01/" + s[8:10]
print(ans)

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

Solution (Python):
s=input()

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

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

Solution (Python):
a=input().split('/')
a[0] = '2018' if a[0] == '2017' else a[0]
print('/'.join(a))

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

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

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

Solution (Python):
import sys

today = input()

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

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

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

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

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

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

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

Solution (Python):
S=input()
s=[a for a in S]
s[3]='8'
moji=''
for a in s:
    moji+=a
print(moji)

Solution (Python):

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

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

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

Solution (Python):


import sys
 
stdin = sys.stdin
inf = 1 << 60
mod = 1000000007
 
ni = lambda: int(ns())
nin = lambda y: [ni() for _ in range(y)]
na = lambda: list(map(int, stdin.readline().split()))
nan = lambda y: [na() for _ in range(y)]
nf = lambda: float(ns())
nfn = lambda y: [nf() for _ in range(y)]
nfa = lambda: list(map(float, stdin.readline().split()))
nfan = lambda y: [nfa() for _ in range(y)]
ns = lambda: stdin.readline().rstrip()
nsn = lambda y: [ns() for _ in range(y)]
ncl = lambda y: [list(ns()) for _ in range(y)]
nas = lambda: stdin.readline().split()

S = ns()

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

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

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

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

Solution (Python):
s = input()


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

Solution (Python):
s = input()

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

Solution (Python):
p=list(input());p[:4]="2018"
print("".join(map(str,p)))

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

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

Solution (Python):
s = input()

S = s.split("/")
print("2018/"+S[1]+"/"+S[2])

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

Solution (Python):

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

Solution (Python):


s = input()


s_new = s[:3] + '8' + s[4:]

print(s_new)

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

s = ''.join(s)

print(s)

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

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

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

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

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

Solution (Python):
import sys

s = list(sys.stdin.readline().strip())

s[0] = "2"
s[1] = "0"
s[2] = "1"
s[3] = "8"
print("".join(s))

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

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

Solution (Python):
d = input()
d = list(d)
date = d[8 : ]
print("2018/01/" + date[0] + date[1])

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

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

Solution (Python):


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

Solution (Python):

s = input()



print(s[:3],'8',s[4:], sep='')

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

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

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

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

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

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

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

Solution (Python):

def Already2018(s):

    ans = s[:3] + '8' + s[4:]
    return ans

def main():
    s = str(input())
    print(Already2018(s))

if __name__ == '__main__':
    main()

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

print(S)

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

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

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

Solution (Python):
import math
import string


def readints():
    return list(map(int, input().split()))


def nCr(n, r):
    return math.factorial(n)//math.factorial(n-r)*math.factorial(r)


s = input()
print(int(s[0:4])+1, end="")
print(s[4:])

Solution (Python):


S = list(input())

S[3] = '8'

print(''.join(S))

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

Solution (Python):

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

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

Solution (Python):
s = input()

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

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

if '2018' in S:
    print(S)
else:
    print("2018"+ S[4:10])

Solution (Python):
a = input()
b = []
for i in range(len(a)):
  if i == 3:
    b.append("8")
  else:
    b.append(a[i])

print("".join(b))

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

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

Solution (Python):
s_17 = list(input())
s_18 = ''

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

print(s_18)

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

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

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

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

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

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

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

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

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):
print("2018/01/"+ input()[-2:])

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

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

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

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

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

Solution (Python):
S = input()

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

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

Solution (Python):
s = input()

a = s.replace("2017","2018")

print(a)

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

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

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

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

Solution (Python):



def main():

  input_yyyymmdd = input()
  out_yyyy = '2018'
  
  print(out_yyyy + input_yyyymmdd[4:10])
 
  return 0


if __name__ == '__main__':
    main()

Solution (Python):




def main():
    date = list(input().split('/'))
    
    if date[0] != '2018':
        date[0] = '2018'
        
    
    mojiretu = '/'.join(date)
    print(mojiretu)
    return 0


if __name__ == '__main__':
    main()

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

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

print(S)

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

Solution (Python):
S = input()

print(S.replace('17/', '18/'))

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

Solution (Python):
def solve():
    _, m, d = input().split('/')
    return '2018/' + m + '/' + d

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

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

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

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

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

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

Solution (Python):
print('2018/01/{}'.format(input()[8:]))

Solution (Python):

import sys


s = input().strip()

words = s.split("/")
print( "/".join( ["2018"] + words[1:] ) )

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

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

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

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


if __name__ == '__main__':
    main()

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

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

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

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

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

S[3] = "8"

print("".join(S))

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

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

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

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

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

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

main()

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

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

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

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

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()
s = s.replace("2017","2018")
print(s)

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

Solution (Python):

S = input()


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

Solution (Python):
try:
    S = input()
    print("2018" + S[4:])
except EOFError:
    pass

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

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

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

Solution (Python):
S = list(map(str, input()))
S[3] = "8"

for s in S:
  print(s, end = "")

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

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

Solution (Python):
s = input()

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

Solution (Python):
y,m,d=input().split("/")
print("2018/{}/{}".format(m,d))

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

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

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

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

Solution (Python):
s = input()

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

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

ans = "2018" + s[4:]

print(ans)

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

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

Solution (Python):

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

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

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

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

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

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

Solution (Python):




def main():
    S = input().split('/')
    print('2018', *S[1:], sep='/')


if __name__ == "__main__":
    main()

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

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

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

Solution (Python):
date = input()

a = list(map(str, date.split('/')))

a[0] = '2018'

print(a[0] + '/' + a[1] + '/' +  a[2])

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

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

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

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

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

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

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

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

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

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

Solution (Python):
s = input()
if s[:7] == '2017/01':
    s = '2018/01' + s[7:]
print(s)

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

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

Solution (Python):


import sys
import re
input = sys.stdin.readline


def main():
    S = list(input().rstrip())
    S[3] = '8'
    print("".join(S))


if __name__ == "__main__":
    main()

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):
"""
author : halo2halo
date : 24, Jan, 2020
"""

import sys
import itertools



read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N=readline().decode('utf8')
S=N[:3]+'8'+N[4:]
print(S)

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

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

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

Solution (Python):

import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
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(*s, sep="")

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

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):
s = input().split("/")
print("{}/{}/{}".format("2018",s[1],s[2]))

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

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

S[0] = '2018'

print('/'.join(S))

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

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

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

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

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

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

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

Solution (Python):
S = input()
ans = '2018/'
for i in range(5,10):
    ans += S[i]
print(ans)

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

Solution (Python):
s = input()

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

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

Solution (Python):


s = input()

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

print(ans)

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

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

Solution (Python):
S = input()

SR = S.replace(S[3],'8',1)

print(SR)

Solution (Python):
S=input()

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

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

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

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):
S = input()

L = S.split("/")

L[0] = "2018"

print(L[0]+"/"+L[1]+"/"+L[2])

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

Solution (Python):
s = input()

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

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

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

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

    s[3] = 8

    s = [str(i) for i in s]

    print(''.join(s))

if __name__ == '__main__':
    main()

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

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

Solution (Python):
year,month,day = input().split("/")
print("2018/{}/{}".format(month,day))

Solution (Python):
s=input()

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

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

Solution (Python):
S = input()

year, month , date = S.split('/')

print('{0}/{1}/{2}'.format('2018',month,date))

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

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

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

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

Solution (Python):
day = input()

if (day[3] == '7'):
    day = day[:3] + '8' + day[4:]
    
print(day)

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

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

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

Solution (Python):
s=list(str(input()))
s[3]=str(int(s[3])+1)
print("".join(s))

Solution (Python):
s = input()

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

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

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

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

Solution (Python):
S = input()

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

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

Solution (Python):
import sys
input = sys.stdin.readline
S = list(input().strip())
S[3] = "8"
ans = ""
for s in S:
    ans += s
print(ans)

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

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

Solution (Python):
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

def swap(a,b):
    return (b,a)

def gcd(a,b): 
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def lcm(a,b): 
    return a/gcd(a,b)*b

def divisors(a): 
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): 
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): 
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

def prime_fact(a): 
    sqrt = math.sqrt(a)
    res = []
    i = 2
    if is_prime(a):
        res.append(a)
    else:
        while a!=1:
            while a%i==0:
                res.append(i)
                a //= i
            i += 1
    return res

def main():
    s = input()
    ss = ['2','0','1','8']
    for i in range(10):
        if i<4:
            continue
        ss.append(s[i])
    print(''.join(ss))
    return

if __name__=='__main__':
    main()

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

Solution (Python):
S = input()

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

print(''.join(S))

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

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

print("2018"+'/'+m+'/'+d)

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

Solution (Python):
import sys
input = sys.stdin.readline
s=input().strip()
print("2018/"+s[5:])

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

Solution (Python):


"""
2017/01/31

2018/01/31

"""

date=input()

dates=date.split('/')
dates[0]='2018'
print('/'.join(dates))

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

Solution (Python):


date = input()

dates = date.split('/')
dates[0] ='2018'
print('/'.join(dates))

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

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

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

Solution (Python):
s = input()
t = '2018'

for i in range(len(s)):
  if i > 3:
    print(s[i],sep='',end='')
  else:
    print(t[i],sep='',end='')

Solution (Python):



def main():

    input_ = list(input())
    input_[3] = '8'

    print(''.join(input_))

    return 0


if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
s = input()

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

Solution (Python):
s1,s2,s3=input().split('/')
s1='2018'
print(s1+'/'+s2+'/'+s3)

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

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

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

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

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

print(*s, sep='')

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

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

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

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

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

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

Solution (Python):
from sys import stdin


def fetch_one_line():
    return stdin.readline().rstrip()


def fetch_int_input():
    return [int(s) for s in fetch_one_line().split()]


def fetch_inputs(times):
    return [fetch_one_line() for _ in range(times)]


def fetch_int_inputs(times):
    return [[int(s) for s in fetch_one_line()] for _ in range(times)]


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

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

Solution (Python):
S = input()


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

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

if __name__ == '__main__':
    main()

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

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

Solution (Python):


import copy


def solver(errorStr):
    strList = list(errorStr)
    trueList = copy.deepcopy(strList)
    trueList[3] = '8'
    result = ''.join(trueList)
    return result


if __name__ == "__main__":
    result = ""
    result = solver(input())
    print(result)

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

Solution (Python):
import sys

s = sys.stdin.readline().rstrip()

def main():
    return s[:3] + '8' + s[4:]

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

Solution (Python):
s = input()
print('2018'+s[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):
S = input().split("/")
S[0] = "2018"
print(S[0] + "/" + S[1] + "/" + S[2])

Solution (Python):




def solver(errorStr):
    result = '2018'
    monthDay = errorStr[4:]
    result = result + monthDay
    return result


if __name__ == "__main__":
    result = ''
    result = solver(input())
    print(result)

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

Solution (Python):
s = input()

ans = "2018"
for i in range(4,10):
	ans += s[i]
	
print(ans)

Solution (Python):




def solver(errorDay):
    result = "2018/01/"
    day = errorDay[8:]
    
    result = result+day
    return result


if __name__ == "__main__":
    result = ""
    result = solver(input())
    print(result)

Solution (Python):
import math

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

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

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

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

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

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

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

Solution (Python):
import sys

y, m, d = map(str, sys.stdin.readline().split("/"))

print(str(int(y)+1) + "/" + m + "/" + d)

Solution (Python):
moji = list(input())
replace = "2018"
for i in range(4):
	moji[i] = replace[i]
for i in range(len(moji)):
	print(moji[i],end="")

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

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

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

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

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

Solution (Python):
s=input()
k=int(s[3])


print(s[:3]+str(k+1)+s[4:])

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):
def is_already_2018(date):
  date = date.replace('2017','2018')
  print(date)


is_already_2018(input())

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

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

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

Solution (Python):
t=input().split("/")

print("2018/"+t[1]+"/"+t[2])

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

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

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

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

Solution (Python):
m=input()

print("2018{}".format(m[4:]))

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

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

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

Solution (Python):
s = input()

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

print(corrected)

Solution (Python):
s = input()

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

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

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

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

Solution (Python):


S = input()
list_S = list(S)

list_S[3] = '8'

str_S = ''.join(list_S)

print(str_S)

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

Solution (Python):




n = list(input().split("/"))

print("2018/01/"+n[2])

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