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



Sample input:
2017/01/07


Sample output:
2018/01/07

Submission status: Accepted

Solution code:
import sys

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

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

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

Submission status: Accepted

Solution code:
s = list(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Problem https://atcoder.jp/contests/abc085/tasks/abc085_a
# Python 2nd Try


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


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
# Problem https://atcoder.jp/contests/abc085/tasks/abc085_a
# Python 1st Try


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


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

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


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

Submission status: Accepted

Solution code:
def is_already_2018(date):
  date = date.replace('2017','2018')
  print(date)


is_already_2018(input())

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
m=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

print(corrected)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

S = input()
list_S = list(S)

list_S[3] = '8'

str_S = ''.join(list_S)

print(str_S)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#n = int(input())
#n,k = map(int,input().split())
#x = list(map(int,input().split()))

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

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

Submission status: Accepted

Solution code:
import datetime

S = input()
fmt = "%Y/%m/%d"
dt = datetime.datetime.strptime(S, fmt).replace(year=2018)
print(dt.strftime(fmt))

Submission status: Accepted

Solution code:
from sys import stdin

value = stdin.readline().rstrip()
output = value[:3] + value[3].replace('7', '8') + value[4:]
print(output)

Submission status: Accepted

Solution code:
import datetime
S = str(input())
date_format = datetime.datetime.strptime(S,'%Y/%m/%d')
print('2018/'+str(date_format.strftime("%m/%d")))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(input())
S[3] = 8
print("".join([str(n) for n in S]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':

	S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

sr=s.replace(s[0:4], '2018')

print(sr)

Submission status: Accepted

Solution code:
s = input()

sl = s.split('/')
sl[0] = '2018'

ans='/'.join(sl)
print(ans)

Submission status: Accepted

Solution code:
input_str = input()
input_str = input_str.replace('2017/01','2018/01')
print(input_str)

Submission status: Accepted

Solution code:
##### 解けた #####

S=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import math

#入力
S = str(input())
#A, B, C, D = map(int, input().split())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input())
for i in range(len(s)):
  if i == 3:
    s[i] = "8"
print("".join(s))

Submission status: Accepted

Solution code:
s = list(input())

s[3] = '8'

print(''.join(s))

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
from itertools import combinations
from math import factorial
import numpy as np
import math

s = stdin.readline().rstrip()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def examA():
    St = S()
    ans = "2018" + St[4:]
    print(ans)


import sys,copy,bisect,itertools,heapq,math
from heapq import heappop,heappush,heapify
from collections import Counter,defaultdict,deque
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))
def LS(): return sys.stdin.readline().split()
def S(): return sys.stdin.readline().strip()
mod = 10**9 + 7
inf = float('inf')

examA()

Submission status: Accepted

Solution code:
str = list(input())
str[3] = "8"
print("".join(str))

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# python3 (3.4.3)
import sys
input = sys.stdin.readline

# main
S = input().rstrip()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=str(input())
print(n.replace("7","8",1))

Submission status: Accepted

Solution code:
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")

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

main()

Submission status: Accepted

Solution code:
def main():
  yyyy, mm, dd = input().split('/')
  print('2018/' + mm + '/' + dd)
  
main()

Submission status: Accepted

Solution code:
print("2018"+input()[-6:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
# import collections
# import math
# import string
# import bisect
# import re
# import itertools
# import statistics

def main():
    s = list(sys.stdin.readline().rstrip())
    s[3] = '8'
    print(''.join(s))


if __name__ == "__main__":
    # execute only if run as a script
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
S = input()
SI = S[:3] + '8' + S[4:]
print(SI)

Submission status: Accepted

Solution code:
#A - Already 201
s = input()
print(s.replace('2017', '2018'))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(input())

alternate = '2018'

for i, alt in enumerate(alternate):
  S[i] = alt

S = ''.join(S)
print(S)

Submission status: Accepted

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

y=int(y)
y+=1
y=str(y)
print(y+'/'+m+'/'+d)

Submission status: Accepted

Solution code:
S = [i for i in input().split("/")]
if S[0] == "2017":
    print("2018/"+S[1]+"/"+S[2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 25,Oct,2019
"""

import sys
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

N = readline().rstrip()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
if '2017' in s:
    print(s.replace('2017','2018'))
else:
    print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

S = input()

ans = "2018/"

for i in range(5,10):
    ans = ans + S[i]

print(ans)

Submission status: Accepted

Solution code:
#
# abc085 a
#
import unittest
from io import StringIO
import sys


def input():
    return sys.stdin.readline().rstrip()


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


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)


if __name__ == "__main__":
    #unittest.main()
    resolve()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# ABC085 A - Already 2018
S = input()
S = S.replace('2017/01/','2018/01/')
print(S)

Submission status: Accepted

Solution code:
data = input()
print(data.replace("2017", "2018", 1))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=list(input())
s[3]=8
for i in range(10):
    print(s[i],end="")
#ans="".join(s)
#print(ans)

Submission status: Accepted

Solution code:
s = [val for val in input()]
s[3] = "8"
print("".join(s))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - Already 2018

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

Submission status: Accepted

Solution code:
S = input()

L = ["2018"]
for i in range(6):
    L += S[i+4]
    
ans = "".join(L)
print(ans)

Submission status: Accepted

Solution code:
S = str(input())

ans=[]

for i in range(len(S)):
  if i != 3:
    ans.append(S[i])
  else:
    ans.append(8)
    
print(''.join(map(str, ans)))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().split("7/")
print(s[0]+"8/"+s[1])

Submission status: Accepted

Solution code:
s = list(map(int, input().split("/")))

s[0] = 2018

if s[2] >= 10:
    a = str(s[0]) + "/0" + str(s[1]) + "/" + str(s[2])
    print(a)
else:
    a = str(s[0]) + "/0" + str(s[1]) + "/0" + str(s[2])
    print(a)

Submission status: Accepted

Solution code:
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    S=STR()
    S2=S.replace('2017', '2018')
    print(S2)
if __name__ == '__main__':
    do()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s_list = list(input().split('/'))

if s_list[0] != '2018':
    s_list[0] = '2018'

s = '/'.join(s_list)

print(s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(input())
S[:4]=["2","0","1","8"]
print("".join(S))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
day = list(input().split('/'))
day[0] = '2018'
print(day[0],day[1],day[2],sep=('/'))

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
s=input(); print(s.replace('017','018'))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
text=input()
print("2018"+text[4:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=list(input())
print("2018/01/"+str(s[8])+str(s[9]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=str(input())
print(S.replace('7/','8/'))

Submission status: Accepted

Solution code:
s = list(x for x in input())
s.pop(3)
s.insert(3, '8')
ans = ''
for i in range(len(s)):
  ans += s[i]
print(ans)

Submission status: Accepted

Solution code:
S=str(input())

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

Submission status: Accepted

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

print("".join(s))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    
print("2018"+input()[4:])

Submission status: Accepted

Solution code:
S = input()
for i, c in enumerate(S):
    if i == 3:
        print("8", end="")
    else:
        print(c, end="")

Submission status: Accepted

Solution code:
print('2018/01/' + input().split('/')[2])

Submission status: Accepted

Solution code:
def slove():
    import sys
    input = sys.stdin.readline
    s = str(input().rstrip('\n'))
    print(s.replace("2017/", "2018/"))


if __name__ == '__main__':
    slove()

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


def main():
    print("/".join(["2018" if i == "2017" else i for i in input().split("/")]))


if __name__ == "__main__":
    main()

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = input()
print(i[:3]+"8"+i[4:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#2019/09/25
S = input()
print("2018" + S[4:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()


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

a=''
for i in U:
    a+=i
print(a)

Submission status: Accepted

Solution code:
import datetime

S = datetime.datetime.strptime(input(), '%Y/%m/%d')
print('2018/01/' + str(S.day).zfill(2))

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline

s = list(input().strip())
s[3] = 8

a = map(str,s)
a = ''.join(a)
print(a)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
S = (stdin.readline().rstrip())
S = "2018" + S[4:]
print(S)

Submission status: Accepted

Solution code:
S = str(input())

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

Submission status: Accepted

Solution code:
year, month, day = input().split('/')
year_int = int(year) + 1

print('%s/%s/%s' % (year_int, month, day))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
date = input()
print(date.replace(date[:4],'2018'))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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



if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s = list(input().split('/'))
s[0] = '2018'
print('/'.join(s))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
print("2018/"+s[5:])

Submission status: Accepted

Solution code:
# 自分の回答
s = input()
print(s.replace("2017", "2018"))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())
S = list(S)
S[3] = '8'

for i in S:
    print(i,end='')

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-S
S = list(str(input()))
S[3] = "8"
answer = "".join(S)
print(answer)

Submission status: Accepted

Solution code:
N = input()
for i in range(len(N)):
  if i != 3:
    print(N[i], end='')
  else:
    print('8', end='')

Submission status: Accepted

Solution code:

def main():
	string = input()
	string = string.replace("2017", "2018")
	print(string)
 
 
if __name__ == "__main__":
	main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
year, month, day = S.split('/')
year = '2018'
print(year + '/' + month + '/' + day)

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

Solution code:
#coding:utf-8
s = input()

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

Submission status: Accepted

Solution code:
t=input()
print(str(2018)+t[4:11])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('2018{}'.format(input()[4:]))

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(map(str, input().split('/')))
print('{}/{}/{}'.format(2018,s[1],s[2]))

Submission status: Accepted

Solution code:
from datetime import datetime,date,time
s = input()
missDate = datetime.strptime(s,'%Y/%m/%d')
print(missDate.replace(year=2018).strftime('%Y/%m/%d'))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = input().split('/')
year, month, day = '2018', X[1], X[2]
joint = '/'
s = joint.join([year, month, day])
print(s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
date = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = str(input())
slist = list(s)
if len(slist) == 10:
    slist[3] = "8"
    print("".join(slist))
else:
    print('hoge!')

Submission status: Accepted

Solution code:
a = input()
b, c, d = a.split('/')
print('2018/{}/{}'.format(c, d))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
import re

S = input()
print(re.sub(r'^.{4}', '2018', S))

Submission status: Accepted

Solution code:
import sys
from statistics import *
from collections import *
from operator import itemgetter

stdin = sys.stdin

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

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=input().split('/');print("2018/"+'/'.join(n[1::]))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

s = list(input())

s[0],s[1],s[2],s[3]="2","0","1","8"

print("".join(s))

Submission status: Accepted

Solution code:
def resolve():
    s = input()
    print(s.replace("2017/", "2018/"))


if __name__ == "__main__":
    resolve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

print(A)

Submission status: Accepted

Solution code:
a = input()

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

Submission status: Accepted

Solution code:
s = input()
print(s[:3]+'8'+s[-6:])

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

year, month, day = input().split("/")

print("{}/{}/{}".format("2018", month, day))

Submission status: Accepted

Solution code:
S = input()
S = "2018/01/" + S.split("2017/01/")[-1]
print(S)

Submission status: Accepted

Solution code:
cs = list(input())
cs[3] = '8'
print(''.join(cs))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input())

s[0:4] = ['2', '0', '1', '8']

s = ''.join(s)

print(s)

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    S = input()
    return "2018" + S[4:]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**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 II(): return int(sys.stdin.readline())
def SI(): return sys.stdin.readline().strip()
INF = 10 ** 18
MOD = 10 ** 9 + 7

from functools import lru_cache


def main(): 
    S = SI()

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




main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print(input().replace("2017/01/", "2018/01/"))

Submission status: Accepted

Solution code:
import collections


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

    


if __name__== "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    y, m, d = map(str, input().split('/'))
    if int(y) == 2017:
        y = str(2018)
    print('/'.join([y, m, d]))

Submission status: Accepted

Solution code:
def test():
    d = input()
    if "2017" in d:
        print(d.replace("2017","2018"))


if __name__ == "__main__":
    test()

Submission status: Accepted

Solution code:
hajime = list(input())
hajime[3] = "8"
owari = ''.join(hajime)
print(owari)

Submission status: Accepted

Solution code:
s = input();

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

print(s)

Submission status: Accepted

Solution code:
a = input()

b = a.replace('2017', '2018') 

print(b)

Submission status: Accepted

Solution code:
s = input()

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

print(s)

Submission status: Accepted

Solution code:
#A-Already 2018(ABC085)
S=input()
S=S.replace("2017","2018")
print(S)

Submission status: Accepted

Solution code:
S=str(input())

S_changed=S[:3]+'8'+S[4:]

print(S_changed)

Submission status: Accepted

Solution code:
day = input()

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

print(day)

Submission status: Accepted

Solution code:
print("".join([c if i!=3 else '8' for i,c in enumerate(input())]))

Submission status: Accepted

Solution code:
#enumerate関数を使うとforループの中でリスト（配列）などのいてらブルオブジェクトとのnの要素と同時にインデックス番号
#（カウント、順番）を取得できる






print("".join([c if i!=3 else '8' for i,c in enumerate(input())]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s =input()

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

Submission status: Accepted

Solution code:
s = input()
slist = list(s)
slist.pop(3)
slist.insert(3, '8')
print(''.join(slist))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
print("2018" + sys.stdin.readline().rstrip()[4::])

Submission status: Accepted

Solution code:
Y, M, D = input().split("/")
newY = Y[:3] + "8"
print("/".join([newY, M, D]))

Submission status: Accepted

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

print("/".join(S))

Submission status: Accepted

Solution code:
#085A
s = input()
print('2018'+s[4:])