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-----
2017/01/07

-----Sample Output-----
2018/01/07


Difficulty: introductory

Starter code:

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

def main():
    s = input()
    print(f"2018{s[4:]}")


main()

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

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


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

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

date_str = input()

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


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


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


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

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

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



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

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

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

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


#!/usr/bin/env python3


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


main()


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

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

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

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

S = input()

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

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

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

S = input()

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

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

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

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


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


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

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

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

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

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

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

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

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


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

date = input()

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

print(output)

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

import sys
 
S = sys.stdin.readline().strip()
print("2018" + S[4:])

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

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

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

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

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

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

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

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

#!/usr/bin/env python3
import sys
sys.setrecursionlimit(10**6)

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

print(("".join(s)))


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

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


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

S = input()

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

S=input()
a=S.split('/')
b='2018/'+a[1]+'/'+a[2]
print(b)

S = str(input())

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


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


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

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

S = str(input())

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

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

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


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



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

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


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

# 文字列の入力
s = input()
print(s.replace("2017","2018"))

#85A
s=list(input())
s[3]='8'
print(''.join(s))

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

print(input().replace('017','018'))

S = input()

# count=1 にする
print((S.replace('7', '8', 1)))


s = str(input())

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


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

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

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

S = str(input())
s = "2"
for i in range(1,10):
  if i == 3:
    s+="8"
  else:
    s+=S[i]
print(s)

n = list(input())

n[3] = "8"

print("".join(n))

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

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

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


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


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


S = input()
 
# Pythonでは S[3]='8' のような操作は許されないので間接的な方法を用いる
print(S[:3] + '8' + S[-6:])

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

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

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


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


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

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

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

# -*- coding: utf-8 -*-

S = list(input())

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

print(S)

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

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

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

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

year,month,day = map(str,input().split('/'))

print('2018/'+month+'/'+day)

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

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

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

print(input().replace("017","018"))

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