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

Solution (Python):
S=list(map(str, input().split('/')))

S[0]=2018

Sp="{0}/{1}/{2}".format(S[0],S[1],S[2])
print(Sp)

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

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

Solution (Python):
import sys,collections
sys.setrecursionlimit(10**7)
def Is(): return [int(x) for x in sys.stdin.readline().split()]
def Ss(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

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

Solution (Python):

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

Solution (Python):
s=input()

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

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

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

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

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

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

Solution (Python):
l = map(str, raw_input().split("/"))
l[0] = "2018"
print "/".join(l)

Solution (Python):


if __name__ == '__main__':

    S = input()

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

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

Solution (Python):
def main():
    N = input()
    d = N.split('/')
    print('2018', d[1], d[2], sep='/')

main()

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

Solution (Python):
S = input()

Sl = list(S)

Sl[3] = '8'

Sc = "".join(Sl)

print(Sc)

Solution (Python):
from pprint import pprint as pp

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

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

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

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

Solution (Python):
S = input()

S = S.replace("2017/01/","2018/01/")

print(S)

Solution (Python):
Ss = input()

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

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

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

Solution (Python):

S1, S2, S3 = input().split("/")
S1 = "2018"

text = S1 + '/' + S2 + '/' + S3

print(text)

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

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

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

ans = '2018'+S[4:]

print(ans)

Solution (Python):
a=input()

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

Solution (Python):
inputs = input().split("/")
if inputs[0] is not '2018':
    inputs[0] = "2018"
print("/".join(inputs))

Solution (Python):
import math

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


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

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

Solution (Python):
a = list(input())
a[3] = "8"
print(a[0]+a[1]+a[2]+a[3]+a[4]+a[5]+a[6]+a[7]+a[8]+a[9])

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

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

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

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

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

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

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()
sl = list(S)
sl[3]='8'
str_changed = "".join(sl)
print(str_changed)

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

Solution (Python):
S = raw_input()

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

print S

Solution (Python):
str = input()

print("2018/01/" + str[8:10])

Solution (Python):

s = list(input())
factor = [2,0,1,8]
for index in range(4):
    s[index] = str(factor[index])
print(''.join(s))

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

Solution (Python):

s = str(input())

s = list(s)

s[0] = '2'
s[1] = '0'
s[2] = '1'
s[3] = '8'

print(''.join(s))

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

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

Solution (Python):
s = list(input())
s[3]="8"
st=""
for c in s:
    st +=c
print(st)

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

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

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

Solution (Python):


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

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

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

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

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

Solution (Python):
def main():
    s = list(input())
    s[3] = 8
    
    for x in range(len(s)):
        print(s[x], end = "")
    print()


if __name__ == "__main__":
    main()

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

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

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

Solution (Python):
s = input()

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

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

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

if __name__ == '__main__':
    main()

Solution (Python):
S = input()

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

print(dest)

Solution (Python):
data = input()

data = data[4:]

data = '2018' + data

print(data)

Solution (Python):


S = input()
ans = ''
for i, s in enumerate(S):
    if i!= 3:
        ans += s
    else:
        ans += '8'
print(ans)

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

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

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

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

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

Solution (Python):
S = input()

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

Solution (Python):


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

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

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

Solution (Python):
s = input()

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

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

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

Solution (Python):


import sys

def main(argv):
    line = sys.stdin.readline()
    while line:
        S = line.rstrip("\n").replace("2017/", "2018/")
        print S

        line = sys.stdin.readline()

if __name__ == "__main__":
    main(sys.argv)

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

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

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

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

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

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

Solution (Python):
s = input()

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

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

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

Solution (Python):
import sys

line = sys.stdin.readline().strip()
print(line[:3]+"8"+line[4:])

Solution (Python):

import sys

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

if __name__ == '__main__':
	main()

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

Solution (Python):



import sys

s = sys.stdin.readline()
print("2018"+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):
s = input()
print(s[:3] + '8' + s[4:])

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

Solution (Python):


s = list(input())
s[0] = '2'
s[1] = '0'
s[2] = '1'
s[3] = '8'
s = ''.join(s)
print(s)

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

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

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

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

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

if __name__=="__main__":
    main()

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

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

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**15
mod = 10**9+7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    s = S()

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

print(main())

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

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

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

Solution (Python):


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

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