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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
import sys
 
S = sys.stdin.readline().strip()
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 = list(input())
s[3] = '8'

print(''.join([str(i) for i in s]))

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

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

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

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

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

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

Solution (Python):

import sys
sys.setrecursionlimit(10**6)

s = list(str(input()))
s[:4] = list("2018")

print("".join(s))

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

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

Solution (Python):

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

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

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

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

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

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

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

Solution (Python):

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

Solution (Python):
a = input()
print('2018' + a[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):
print(input().replace('017','018'))

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

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

Solution (Python):
date_str = input()

new_data = date_str.replace('2017', '2018')
print(new_data)

Solution (Python):
S = input()

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

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

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

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

Solution (Python):
import sys

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    S = list(input())
    S[:4] = "2018"

    print("".join(S))

if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
S = input()

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

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

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

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

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

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

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

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

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

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

Solution (Python):
date = input()

date_list = list(date)
date_list[3] = '8'
output = ''.join(date_list)

print(output)

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

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

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

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

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

Solution (Python):
s = input()
a = int(s[0])*1000+int(s[1])*100+int(s[2])*10+int(s[3])+1
b = s[4]+s[5]+s[6]+s[7]+s[8]+s[9] 
print(str(a)+b)

Solution (Python):
S = input()


print(S.replace('7', '8', 1))

Solution (Python):
S = input()
 

print(S[:3] + '8' + S[-6:])

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

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

Solution (Python):



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


main()

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

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

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

Solution (Python):



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


if __name__ == "__main__":
    main()

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

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

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

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

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

Solution (Python):


S = list(input())

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

print(S)

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

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

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

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

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

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

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

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

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

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

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

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

print(S.replace(S[0:4],"2018"))

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

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

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

Solution (Python):
str = input()

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

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

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

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

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

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

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

Solution (Python):
ss = input()

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

Solution (Python):
from collections import defaultdict,deque
import math
def main():
    n = input()
    print(n[0:3]+"8"+n[4:])

if __name__ == '__main__':
    main()

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

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

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

if __name__ == "__main__":
    main()

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 = list(input())
S[3] = "8"

print("".join(S))

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

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

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

Solution (Python):
S = input()

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

Solution (Python):

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

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

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

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

if '2017/01/' == S[:8]:
    print('2018/01/{}'.format(S[8:]))

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

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

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

print(s)

Solution (Python):
s = input()

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

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

Solution (Python):



import sys
from io import StringIO
import unittest


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)


def resolve():
    print(input().replace("7", "8", 1))


if __name__ == "__main__":
    
    resolve()

Solution (Python):
s = input()

a = s[5] + s[6]
b = s[8] + s[9]

d = "2018/" + a + "/" + b

print(d)

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

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

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

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

print(s)

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

str_s=''.join(map(str,S))

print(str_s)

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

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

Solution (Python):
def main():
	S = input()

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

  
if __name__ == "__main__":
  	main()

Solution (Python):
S = input()

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

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

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

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

Solution (Python):









s = list(input())

s[3] = "8"

print("".join(s))

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

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


if __name__ == "__main__":
    main()

Solution (Python):
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


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


if __name__ == '__main__':
    main()

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

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

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

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

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

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

Solution (Python):
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


def main():
    S = readline().strip()

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

    return


if __name__ == '__main__':
    main()

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

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):
print(input().replace('017','018'))

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

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

Solution (Python):
N=input()

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

print(N)

Solution (Python):
S,T,U=input().split("/")
print("2018/"+T+"/"+U)

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

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()
a=int(s[0:4])
print(str(a+1)+s[4:])

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

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

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

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

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

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

Solution (Python):

















import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
import numpy as np
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

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

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

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

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

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

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

Solution (Python):
a=input()

b="2018"+a[4:]

print(b)

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

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

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

Solution (Python):

from sys import stdin, stdout
cin = stdin.readline
cout = stdout.write
mp = lambda: list(map(int, cin().split()))

def chars(): 
    s = cin()
    return(list(s[:len(s) - 1]))


def pl(a):	
	for val in a:
		cout(val)
		


s = chars()
s[3] = '8'
pl(s)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
I = input()
import re
ans = re.sub(r'^2017', '2018', I)
print(ans , flush=True)

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

Solution (Python):
s1, s2, s3 = input().split("/")

s1 = 2018

print(s1, s2, s3, sep="/")

Solution (Python):
import sys
def input(): return sys.stdin.readline().strip()


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


if __name__ == "__main__":
    main()

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

Solution (Python):
s = input()

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

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

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

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

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

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

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

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

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(*S,sep="")

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

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

D[3] = 8

map = map(str,D)

print(''.join(map))

Solution (Python):

import sys

sys.setrecursionlimit(10 ** 5)
input = sys.stdin.readline
mod = 1000000007
inf = float("INF")


def II(): return int(input().rstrip())


def IF(): return float(input().rstrip())


def IS(): return str(input().rstrip())


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


def LI_(): return list(map(lambda x: int(x) - 1, input().rstrip().split()))


def LF(): return list(map(float, input().rstrip().split()))


def S(): return input().rstrip()


def LS(): return S().split()










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

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

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

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

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

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

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

Solution (Python):
import bisect, collections, copy, heapq, itertools, math, string, sys
input = lambda: sys.stdin.readline().rstrip() 
sys.setrecursionlimit(10**7)
INF = float('inf')
def I(): return int(input())
def F(): return float(input())
def SS(): return input()
def LI(): return [int(x) for x in input().split()]
def LI_(): return [int(x)-1 for x in input().split()]
def LF(): return [float(x) for x in input().split()]
def LSS(): return input().split()

def resolve():
    S = SS()

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

if __name__ == '__main__':
    resolve()

Solution (Python):
S = input()

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

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

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

Solution (Python):
year = "2018"

S = input()
ans = year + S[4:]
print(ans)

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

Solution (Python):




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

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

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

Solution (Python):
s = input()
print(str(int(s[:4]) + 1) +  s[4:])

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

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

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

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

Solution (Python):
import bisect
import copy
import heapq
import math
import sys
from collections import *
from functools import lru_cache
from itertools import accumulate, combinations, permutations, product
def input():
    return sys.stdin.readline()[:-1]
def ruiseki(lst):
    return [0]+list(accumulate(lst))
sys.setrecursionlimit(500000)
mod=pow(10,9)+7
al=[chr(ord('a') + i) for i in range(26)]
direction=[[1,0],[0,1],[-1,0],[0,-1]]

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

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

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



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

print(ans)

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

print('2018/{}'.format(s[5:]))

Solution (Python):


input_ = input()

dd = input_[-2:]

print('2018/01/' + dd)

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

Solution (Python):
import sys
import math
import itertools
import collections
import heapq
import re
import numpy as np

rr = lambda: sys.stdin.readline().rstrip()
rs = lambda: sys.stdin.readline().split()
ri = lambda: int(sys.stdin.readline())
rm = lambda: map(int, sys.stdin.readline().split())
rl = lambda: list(map(int, sys.stdin.readline().split()))
inf = float('inf')
mod = 10**9 + 7

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

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

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

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

Solution (Python):
x = input()

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

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

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

Solution (Python):

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

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

Solution (Python):
s = input()

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

Solution (Python):


S = input()


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

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

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

Solution (Python):










import sys

def input(): return sys.stdin.readline()
def iIn(): return int(input())
def iInM(): return map(int, input().split())
def iInM1(): return map(int1, input().split())
def iInLH(): return list(map(int, input().split()))
def iInLH1(): return list(map(int1, input().split()))
def iInLV(n): return [iIn() for _ in range(n)]
def iInLV1(n): return [iIn()-1 for _ in range(n)]
def iInLD(n): return [iInLH() for _ in range(n)]
def iInLD1(n): return [iInLH1() for _ in range(n)]
def sInLH(): return list(input().split())
def sInLV(n): return [input().rstrip('\n') for _ in range(n)]
def sInLD(n): return [sInLH() for _ in range(n)]

def OutH(lst, deli=' '): print(deli.join(map(str, lst)))
def OutV(lst): print('\n'.join(map(str, lst)))

sys.setrecursionlimit(10 ** 6)

int1 = lambda x: int(x) - 1

INF = int(1e9)
MOD = 1000000007
dx = (-1, 0, 1, 0)
dy = (0, -1, 0, 1)


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

Solution (Python):
import sys
S = input()
if len(S) != 10:
    sys.exit()
if S[0:8] != '2017/01/':
    sys.exit()
if not (1 <= int(S[-2:]) <= 31):
    sys.exit()

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

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

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

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

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

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

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

Solution (Python):
s=input()

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

Solution (Python):

S=input()

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

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

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

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

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

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

Solution (Python):
N = input()

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

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

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

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

Solution (Python):
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
INF = 10**9
mod = 10**9+7

S = list(s())
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("2018"+S[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):
S = input()

s1 = "2018"

s2 = S[4:]

s = s1 + s2

print(s)

Solution (Python):

a = list(input())
a[3]=8
print(*a, sep='')

Solution (Python):
s = input()

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

Solution (Python):


s = list(str(input()))

s[3] = '8'

print(*s,sep='')

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

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

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

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

Solution (Python):
import sys
import math
import itertools
import bisect
from copy import copy
from collections import deque,Counter
from decimal import Decimal
def s(): return input()
def i(): return int(input())
def S(): return input().split()
def X(): return list(input())
def I(): return map(int,input().split())
def L(): return list(input().split())
def l(): return list(map(int,input().split()))
def lcm(a,b): return a*b//math.gcd(a,b)
sys.setrecursionlimit(10 ** 9)
mod = 10**9+7

S = X()
S[3] = "8"
print("".join(S))

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

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

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

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

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

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

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

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

Solution (Python):
def main():
    date = list(str(input()))
    date[3] = '8'
    ans = ''
    for i in date:
        ans = ans + i
    print(ans)

main()

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

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

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

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

Solution (Python):
S = input()
S_list = list(S)
S_list[S.index("7")] = "8"
a = ""
for i in S_list:
  a += i
print(a)

Solution (Python):
a = input()

b = a[:3] + "8" + a[4:]

print(b)

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

Solution (Python):
import sys

input = sys.stdin.readline


def main():
    S = input().rstrip()

    ans = "2018" + S[4:]

    print(ans)


if __name__ == "__main__":
    main()

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

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

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

Solution (Python):
def actual(s):
    return s.replace('2017', '2018')

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

Solution (Python):
s = input()

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

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

def main():
    s = input().split('/')
    s[0] = '2018'
    print('/'.join(s))

if __name__ == '__main__':
    main()

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

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

Solution (Python):
a,b,c = input().split('/')
n = int(a)
n += 1
print("{}/{}/{}".format(n,b,c))

Solution (Python):
a,b,c = input().split('/')
n = int(a)
n += 1
print("{}/{}/{}".format(n,b,c))

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

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

Solution (Python):
s = input()

y, m, d = s.split("/")
print("2018/" + m + "/" + d)

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

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

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

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

Solution (Python):

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

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

Solution (Python):
y,m,d = map(str, input().split("/"))
print("{}/{}/{}".format(int(y)+1,m,d))

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().split("/")

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

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

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

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

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

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

Solution (Python):
import sys

def LS2(): return list(sys.stdin.readline().rstrip())  

S = LS2()

S[3] = '8'

print("".join(S))

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

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

Solution (Python):
dateString = input()

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

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

print(s)

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

Solution (Python):

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

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

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

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

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

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

print(modify)

Solution (Python):
import re
s=input()
print(re.sub(r'[0-9]{4}/([0-9]{2})/([0-9]{2})',r'2018/\1/\2',s))

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