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:
S = input()

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

Submission status: Accepted

Solution code:
A=list(input())
a=A[8]
b=A[9]
print("2018/01/"+a+b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import exit
# A,B,C = [int(n) for n in input().split()]
# N = int(input())
# a = [int(input()) for _ in range(N)]
S = str(input())
# L = len(S)
# T = str(input())
# exit()
print(S[:3] + "8" + S[4:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# /usr/bin/python
# -*- coding: utf-8 -*-
#
import sys


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
print(S[:2] + '18' +S[4:])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!usr/bin/env python3
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007

#A
def A():
    s = input()[4:]
    print("2018"+s)
    return

#B
def B():
    return

#C
def C():
    n,y = LI()
    for i in range(n+1):
        for j in range(n+1-i):
            k = n-i-j
            if 10000*i+5000*j+1000*k == y:
                print(i,j,k)
                quit()
    print(-1,-1,-1)

#D
def D():
    return

#E
def E():
    return

#F
def F():
    return

#G
def G():
    return

#H
def H():
    return

#Solve
if __name__ == "__main__":
    A()

Submission status: Accepted

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

y,m,d = input().split("/")

y = "2018"

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
tmp = raw_input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
S = input()
print(S.replace('2017', '2018'))

Submission status: Accepted

Solution code:
def solve(string):
    return "2018" + string[4:]


if __name__ == '__main__':
    print(solve(input()))

Submission status: Accepted

Solution code:

s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
s = ''
for index,i in enumerate(S):
  if(index == 3):
    s+='8'
  else:
  	s+=i
print(s)

Submission status: Accepted

Solution code:
str = input()
print('2018/' + str[5:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
s_list = s.split("/")
s_list.pop(0)
s_list.insert(0,"2018")
print("/".join(s_list))

Submission status: Accepted

Solution code:
flag = 0
a = input().split("/")
del a[0]
a = ["2018",] + a
for i in a:
    flag += 1
    if(flag == 3):
        print(i)
    else:
        print(i,end="/")

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#Already 2018
a = input()
print(a[0:3] + "8" + a[4:10])

Submission status: Accepted

Solution code:

s=raw_input()

p=''
for i in range(len(s)):
	if i==3:
		p+='8'
	else:
		p+=s[i]

print(p)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

Solution code:
def already_2018(S: str)->str:
    return '2018' + S[4:]


if __name__ == "__main__":
    S = input()
    ans = already_2018(S)
    print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

print(s)

Submission status: Accepted

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

def main():
	S = input()
	
	tmp = list(S)
	tmp[:4] = "2018"
	print("".join(tmp))
	
		
if __name__ == "__main__":
	main()

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc085/tasks/abc085_a

import itertools
import collections
import bisect

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**6)
def input(): return sys.stdin.readline()
def read(): return int(input())
def reads(): return [int(i) for i in input().split()]

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

Submission status: Accepted

Solution code:
S = [i for i in input().split("/")]
S[0] = "2018"
print("/".join(S))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

def main():
    input = sys.stdin.readline
    S = str(input().strip())
    print('2018' + S[4:])


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input().rstrip()

s1 = s.replace("2017", "2018") if s.startswith("2017") else s
print(s1)

Submission status: Accepted

Solution code:
s = input().rstrip()

s1 = "2018" + s[4:] if s.startswith("2017") else s
print(s1)

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=str(input())
k = ""
ss = list(a)
ss[3] = "8"
str(ss)
for i in range(len(ss)):
  k += ss[i]
print(k)

Submission status: Accepted

Solution code:
from sys import stdin

s=stdin.readline().rstrip()
print(s.replace('2017', '2018'))

Submission status: Accepted

Solution code:
S = input()

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

print(ans)

Submission status: Accepted

Solution code:
print(input().replace("17","18"))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()
t=s[4:10]
u=str(2018)
print(u+t)

Submission status: Accepted

Solution code:
S = input()

ans = S[0:3] + "8" + S[4:]

print(ans)
print()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Mon Feb 25 00:13:32 2019

@author: yuta
"""

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

Submission status: Accepted

Solution code:
S = input()

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

print( S )

Submission status: Accepted

Solution code:
import bisect
import numpy as np
import sys
input = sys.stdin.readline
def IL(): return list(map(int,input().split()))
def SL(): return input().split()
def I(): return int(sys.stdin.readline())
def S(): return input()

s = S()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(input())
S[3] = "8"
text = ""
for i in S:
    text += i
print(text)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
array = list(input())

array[3] = "8"

s = "".join(array)
print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
s = str(input())
print('2018/'+s[5]+s[6]+s[7]+s[8]+s[9])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
year, month, day = input().split('/')

if year == '2017' :
    year = '2018'

print('{}/{}/{}'.format(year, month, day))

Submission status: Accepted

Solution code:
""" AtCoder """

S = input()

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

Submission status: Accepted

Solution code:
S=input()
if S[3]=='7':
    print("201",end='')
    print("8",end='')
    for i in range(4,10):
        print(S[i],end='')
else:
    print(S)

Submission status: Accepted

Solution code:
#encoding:utf-8


S = list(input())

answer = "2018/01/"+S[-2]+S[-1]
print(str(answer))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(map(int, input().split('/')))
print("2018/%02d/%02d" % (S[1], S[2]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 085 A
d = input()
d2 = d[:3] + '8' + d[4:]
print(d2)

Submission status: Accepted

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

Submission status: Accepted

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

import re

print(re.sub(r'\d{4}', '2018', input()))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Already 2018
import sys
import re

s = input()
if re.match('2017', s) :
    s = re.sub('2017', '2018', s)

print(s)

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:
date = input(str())
print(date.replace("2017", "2018", 1))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

lines = sys.stdin.readlines()

for n, c in enumerate(lines[0]):
  if n == 0:
  	res = '2'
  elif n == 1:
    res += '0'
  elif n == 2:
    res += '1'
  elif n == 3:
    res += '8'
  else:
    res += c
print(res)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(input())
a = ''
for i in range(len(S)):
    if(i!=3):
        a+=S[i]
    else:
        a+=str(8)
print(a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3

def main():
    S = input()

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

    print(S)


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def abc085_a():
    s = input()
    print(s[:2] + "18" + s[4:])


abc085_a()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input());
result = '';
s[3] = '8';
for x in s:
    result += x;
print(result);

Submission status: Accepted

Solution code:
s = list(input());
s[3] = '8';
s = "".join(s); #区切り文字なし
print(s);

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
ymd = ''
s = str(input())
for i in s.split('/'):
  if i == '2017':
    i = '2018'
  ymd = ymd + i + '/'
ymd = ymd[:-1]
print(ymd)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
S = raw_input()
if '2017' in S: S = S.replace("2017","2018")
print S

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
S = str(input())
T = S.replace("2017","2018")
print(T)

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
s = input()
print(s[:3]+"8"+s[4:])

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# _*_ coding:utf-8 _*_
#  AtcoderBeginnersContest085-A
#  https://beta.atcoder.jp/contests/abc085/tasks/abc085_a

def change2018(s):
	replaceStr=s.replace("2017","2018")
	return replaceStr


if __name__ == '__main__':
	problemStr=input()
	answerStr=change2018(problemStr)
	print(answerStr)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == "__main__":
    s = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

print(S)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input()
out = ""
for i in range(len(n)):
    if i == 3:
        out += "8"
    else:
        out += n[i]
print(out)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a=input()

b=list(a)

b[3]="8"

c="".join(b)

print(c)

Submission status: Accepted

Solution code:
s = input()
c = ""
for i in range(len(s)):
  if i != 3:
    c += s[i]
  else:
    c += "8"

print(c)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8


S = input()

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

Submission status: Accepted

Solution code:
a = [c for c in input()]
a[3] = '8'
print(''.join(a))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = raw_input()
MISSED_IDX = 3
res = list(S)
res[MISSED_IDX] = '8'

print "".join(res)

Submission status: Accepted

Solution code:
S = list(input())

S[3] = '8'

print("".join(S))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
i = input()

print(i[:4].replace("2017", "2018"+i[4:]))

Submission status: Accepted

Solution code:
date=input()
#if date[0:4]=="2017":
date="2018"+date[4:]
print(date)

Submission status: Accepted

Solution code:
import sys

n = raw_input()
print(n.replace("2017","2018"))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import re
S = list(raw_input())
S[3] = "8"
out = ""
for s in S:
  out += s
print out

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
print('2018'+(S.lstrip('2017')))

Submission status: Accepted

Solution code:
a=str(input())
if a[:8]=="2017/01/":
    A="2018/01/"+a[-2:]
    print(A)
else:
    print(a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math as M
date=input().split('/')
date[0]="2018"
ans=""
for i in range(3):
   ans+=date[i]
   if i!=2:
       ans+="/"
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: utf-8
print(input().replace("2017", "2018"))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
s  = input()
s=s.replace("2017", "2018")
print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a = input()
b = list(a)
b[0] = '2'
b[1] = '0'
b[2] = '1'
b[3] = "8"
c  = ''.join(b)
print(c)

Submission status: Accepted

Solution code:
S = input()
if S[3] == "7":
    print(S.replace("2017", "2018"))

Submission status: Accepted

Solution code:
s = input()

s8 = int(s[8])
s9 = int(s[9])


print("2018/01/" + str(s8) + str(s9))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s =input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/python3

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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='')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = list(input().split("/"))
# print(x)
x[0] = "2018"

# print(x)

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

solve()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#coding:utf-8
s=input()
s=s.replace('2017','2018')
print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
date = input()

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

Submission status: Accepted

Solution code:
tmp_date = list(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = list(input()) # ex. 2017/01/07
s[3]='8'
print(''.join(s))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Tue Jun 19 03:01:30 2018

@author: ashida
"""

S = list(input())

S[3]="8"

print("".join(S))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
S=input()

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