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):
a=input();print(a.replace('2017','2018'))

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

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

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

Solution (Python):
import re
before = str(input())
after = re.sub(r"2017","2018",before)
if after:
    print(after)

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

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

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

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

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

if __name__ == '__main__':
    main()

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

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

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

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

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

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

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

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

print('{}/{}/{}'.format('2018', m, d))

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

Solution (Python):


from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


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


if __name__ == '__main__':
    main()

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

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

Solution (Python):

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

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

Solution (Python):
Y,M,D=map(str,input().split("/"))
if(Y=='2017'):
  Y=2018
else:
  Y=Y
print(Y,end='')
print('/',end='')
print(M,end='')
print('/',end='')
print(D,end='')

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

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

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

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

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

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

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

Solution (Python):
x = list(input().split("/"))

x[0] = "2018"



y = "/".join(x)
print(y)

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

t = ''
for i in range(len(s)):
    t = t + s[i]
print(t)

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

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

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

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

Solution (Python):
s = input()

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

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

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

solve()

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

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

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

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


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

if __name__ == '__main__':
    main()

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

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

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

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

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

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

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

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

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

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

Solution (Python):
date = input()

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

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

if tmp_date[3] == '7':
    tmp_date[3] = '8'
date = ''.join(tmp_date)
print(date)

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

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

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

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

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

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

print(a + "/" + b + "/" +c)

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

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=input()
a=""
for i in range(len(s)):
    if i==3:
        a=a+"8"
    else:
        a=a+s[i]
print(a)

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

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

Solution (Python):
S = input()

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

Solution (Python):
x,y,z=[int(x) for x in str(input()).split("/")]
s='2018/01/'
if z<10:
  s+='0'
  s+=str(z)
else:
  s+=str(z)
print(s)

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

Solution (Python):

"""
Created on Tue Jun 19 03:01:30 2018

@author: ashida
"""

S = list(input())

S[3]="8"

print("".join(S))

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

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

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

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

Solution (Python):
S = input()

ans = list()
ans = S
if "2017/01/" in S:
    ans = "2018/01/" + S[8:]
print(ans)

Solution (Python):


S=input()

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

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

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

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

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

Solution (Python):


date_str = input()

res = date_str.replace("2017", "2018")

print(res)

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

print(S)

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

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

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

Solution (Python):
s = input()

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

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

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

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

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

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

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

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

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

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

Solution (Python):
year,month,date =input().split("/")
year = 2018
print(str(year)+"/"+month+"/"+date)

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

Solution (Python):

S = input()

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

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

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

Solution (Python):
import re
s = input()
ans = re.sub('^2017/01', '2018/01', s)
print(ans)

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

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

Solution (Python):
S = input()

if S[0:7] == "2017/01":
    answer = "2018" + S[4:]
    print(answer)

Solution (Python):
s = list(input())
s[3]="8"
s_new=[s[0]]
for i in s[1:]:
    s_new[0] = s_new[0]+i
print(s_new[0])

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

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

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

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

Solution (Python):
s = list(str(input()))
s[3] = '8'
 
ss = ''
 
for i in s:
  ss = ss + i
  
print(ss)

Solution (Python):
s = list(str(input()))
s[3] = '8'
 
ss = ''
 
for i in s:
  ss = ss + i
  
print(ss)

Solution (Python):
s = list(str(input()))
s[3] = '8'
 
ss = ''
 
for i in s:
  ss = ss + i
  
print(ss)

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

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

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

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

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

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

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

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

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

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

Solution (Python):
day = input()
str_day = list(day)
if str_day[3]=='7':
   str_day[3] = '8'
str_changed = ''.join(str_day)
print(str_changed)

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

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

Solution (Python):
src = input()

dst = src.replace('2017', '2018')
print(dst)

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

Solution (Python):

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

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

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

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

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

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

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

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

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

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

Solution (Python):
s = input()

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

print(rep)

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

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

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

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

Solution (Python):

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
import math
import sys

def getinputdata():

    
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

s = arr_data[0][0]

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

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

Solution (Python):
s = input()

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

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

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

Solution (Python):

S=list(input())
date=str(2018)+S[4]+S[5]+S[6]+S[7]+S[8]+S[9]

print(date)

Solution (Python):
import sys

stdin = sys.stdin

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

s = list(ns())
s[:4] = "2018"
print("".join(s))

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

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

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

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

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

print(S)

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

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

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

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

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

Solution (Python):
s=list(input())
print('2018',end='')
for i in range(4,10):
  print(s[i],end='')
print('')

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

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

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

Solution (Python):





if __name__ == '__main__':
    current_date = str(input())

    modified_date = current_date.replace("2017", "2018")
    print(modified_date)

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

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

Solution (Python):

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

Solution (Python):
s = str(input()).split("/")
a = s[1]
b = s[2]

print("2018/" + str(a) + "/" + str(b))

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

Solution (Python):
N=input()
M=['2018']
for i in range(5,11):
    M.append(N[i-1])
print(''.join(M))

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

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

Solution (Python):

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

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

Solution (Python):


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

Solution (Python):
y,m,d = [int(s) for s in raw_input().split('/')]
print "%04d/%02d/%02d" % (y+1,m,d)

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

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

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

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

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

Solution (Python):
Y, M, D = (int(i) for i in input().split("/"))
print("%04d/%02d/%02d" % (2018, M, D))

Solution (Python):
def main():
    S = input().strip()
    return "2018" + S[4:]
    
if __name__ == '__main__':
    print(main())

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

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

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

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

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

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

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

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

Solution (Python):



import sys

def main():
    print(sys.stdin.readline().strip().replace('2017', '2018'))

if __name__ == '__main__':
    main()

Solution (Python):
s = input()

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

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

Solution (Python):


year, mon, day = input().split('/')
if year != 2018:
    year = 2018
print('{0}/{1}/{2}'.format(year,mon,day))

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

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

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

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

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

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

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


if __name__ == '__main__':
    main()

Solution (Python):


import sys

s = raw_input().split()[0]
ans = '2018/01/' + s[8:]
sys.stdout.write('%s\n' % (ans))
sys.stdout.flush()

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

Solution (Python):
import re
s = input()
print(re.sub("2017","2018",s))

Solution (Python):
str = input()
print("2018" + str.lstrip("2017"))

Solution (Python):
str = input()
print("2018" + str.lstrip("2017"))

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

if __name__ != "__main__":
    pass

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

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

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

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

Solution (Python):

"""
https://beta.atcoder.jp/contests/abc085/tasks/abc085_a

"""
import sys
from sys import stdin
input = stdin.readline


def solve(S):
    return S[:3] + '8' + S[4:]


def main(args):
    S = input().strip()
    ans = solve(S)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

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

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

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

Solution (Python):


from datetime import datetime, timedelta

S = str(input())
wrong_day = datetime.strptime(S, '%Y/%m/%d')
correct_day = wrong_day + timedelta(days=365)
print(correct_day.strftime('%Y/%m/%d'))

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

Solution (Python):
a = input()

year,month,day=a.split('/')
if(int(year)==2017):
    year=2018
print(int(year),'/',month,'/',day,sep='')

Solution (Python):


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

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

Solution (Python):
x = raw_input()
print '2018' + x[4:]

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

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

b = ""
b = "/".join(a)
print(b)

Solution (Python):
S = input()

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

Solution (Python):
S = input()
print('2018',S[4:],sep="")

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

Solution (Python):

""" abc085a """

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

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

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

Solution (Python):

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

Solution (Python):
import re
ipt = input()
regText = r"(\d{4})/(\d{2})/(\d{2})"
repl = r"2018/\2/\3"
print(re.sub(regText,repl,ipt))

Solution (Python):
import math
import numpy as np
from operator import mul




Y, M, D = input().split('/')
Y = str(2018)
print(Y + '/' + M + '/' + D)

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

Solution (Python):
x = list(input().strip().split('/'))
x[0] = 2018

print(str(x[0])+'/'+str(x[1])+'/'+str(x[2]))

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

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

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

Solution (Python):



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

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):
StrDate = input()
print(StrDate[0:3]+"8"+StrDate[4:])

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

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

Solution (Python):


import re 

print(re.sub("2017/01", "2018/01", input()))

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

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

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

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

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

c = ""
c = "/".join(b)
print(c)

Solution (Python):

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

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

Solution (Python):
def solve(inputstr):
  ans = '2018' + inputstr[4:]
  return ans

if __name__ == '__main__':
  inputstr = input()
  ans = solve(inputstr)
  print(ans, flush=True)

Solution (Python):
S = input()

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

Solution (Python):



str1 = input()
str2 = str1.replace("2017","2018")
print(str2)

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

Solution (Python):
S = input()
a = [S[i:+i+1] for i in range(len(S))]
a[3] = "8"
correct = ""
for i in range(len(a)):
    correct = correct + a[i]

print(correct)

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

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

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

solve()

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

Solution (Python):

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

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

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

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

Solution (Python):
input_str = input()

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

Solution (Python):
def main():
    s = input()
    print(s[:2]+'18'+s[4:])	
	
if __name__ == '__main__':
    main()

Solution (Python):
import numpy as np
import pdb


def main():
    mystring = list(raw_input())
    corrected = correction(mystring)
    print ''.join(corrected)
    pass

def correction(mystring):
    mystring[0:4]= ['2', '0','1', '8']
    return mystring

if __name__ == '__main__':
    main()

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

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

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

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

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

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

Solution (Python):

year = input().split("/")

year[0] = 2018
year = map(str, year)




year = "/".join(year)
print(year)

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

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

Solution (Python):
s = input()

b = s.split('/')

b[0] = b[0].replace('7','8')

print('/'.join(b))

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

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

print(s)

Solution (Python):
S = input()

back = S[4:]

print("2018" + back)

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

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

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

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

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

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

print(S)

Solution (Python):
import sys

if __name__ == '__main__':
    str = input()
    print('2018{}'.format(str[4:]))

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

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

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

Solution (Python):
print(input().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):
while True:
    try:
        days = input().split("/")
        days[0] = days[0].replace("7", "8")
        print("/".join(days))
    except EOFError:
        break

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

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

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

Solution (Python):

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

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

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

Solution (Python):
import sys
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt, floor
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache, reduce
from operator import xor
from heapq import heappush, heappop
INF = float("inf")
sys.setrecursionlimit(10**7)


dy4, dx4 = [0, -1, 0, 1], [1, 0, -1, 0]


def inside(y: int, x: int, H: int, W: int) -> bool: return 0 <= y < H and 0 <= x < W
def ceil(a, b):return (a + b - 1) // b


def solve(S):
    S = list(S)
    S[3] = "8"
    return "".join(S)


def main():
    S = input()
    print(solve(S))


if __name__ == '__main__':
    main()

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

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

S[3] = "8"

print("".join(S))

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

Solution (Python):


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

Solution (Python):
S = input()

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

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

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

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

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

Solution (Python):


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

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

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

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

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

Solution (Python):
S = input()

S = list(S)

S[3] = '8'

S_changed = "".join(S)
print(S_changed)

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

Solution (Python):
S = input()

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

print(dest)

Solution (Python):


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

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

Solution (Python):
S = raw_input('')
a = '2018/01/'
b = S[8:]
print a+b

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

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

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

Solution (Python):

date = input()

print("2018", date[4:], sep="")

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

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

Solution (Python):
input_line1 = raw_input()
str_list = list(input_line1)
str_list[3]="8"
str_changed = "".join(str_list)
print(str_changed)

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

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

Solution (Python):
import datetime
import sys

input_date = sys.stdin.read(10)
old_date = datetime.datetime.strptime(input_date, '%Y/%m/%d')
new_date = old_date.replace(old_date.year + 1)
out_date = "{0:%Y/%m/%d}".format(new_date)
print(out_date)

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

Solution (Python):
date = [int(e) for e in input().split('/')]
print('2018/{:02d}/{:02d}'.format(date[1], date[2]))

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

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

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

Solution (Python):



s = input().split("/")


print("2018/{}/{}".format(s[1], s[2]))

Solution (Python):
s = input()

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

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

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

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

Solution (Python):

import numpy

N = input()
N_list = list(N)
map(str,N_list)
N_list[3] = "8"

ans = ''.join(N_list)
print(ans)

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

Solution (Python):
import re

S = raw_input()

S = re.sub('^2017', '2018', S)

print S

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

solve()

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

Solution (Python):
S = input()
s = S.split("/")   

y = s[0]
m = s[1]
d = s[2]

y = "2018"

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

Solution (Python):


S = input()

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

Solution (Python):
import sys
input = sys.stdin.readline
a = input().strip()
a = a[:3]+'8'+a[4:]
print(a)

Solution (Python):
print('2018', input()[4:], sep='')

Solution (Python):
n = input().split('/')
n[0] = str(int(n[0]) + 1)

print('/'.join(n))

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

Solution (Python):
s=input()

data = s.split('/')
out = '2018/01/'+data[2]

print(out)

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

Solution (Python):

S = str(input())
a = S[0]
b = S[1]
c = S[2]
d = S[3]
f = S[5]
g = S[6]
i = S[8]
j = S[9]
D = int(d) + 1
print(str(a)+str(b)+str(c)+str(D)+"/"+str(f)+str(g)+"/"+str(i)+str(j))

Solution (Python):

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