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().split("/")
print("2018"+"/"+s[1]+"/"+s[2])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
date=list(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
import os

ii = lambda: int(sys.stdin.buffer.readline().rstrip())
il = lambda: list(map(int, sys.stdin.buffer.readline().split()))
fl = lambda: list(map(float, sys.stdin.buffer.readline().split()))
iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)]

iss = lambda: sys.stdin.buffer.readline().decode().rstrip()
sl = lambda: list(map(str, sys.stdin.buffer.readline().decode().split()))
isn = lambda n: [sys.stdin.buffer.readline().decode().rstrip() for _ in range(n)]

MOD = 10 ** 9 + 7


def main():
    if os.getenv("LOCAL"):
        sys.stdin = open("input.txt", "r")

    S = iss()
    print(S.replace('2017', '2018', 1))


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print('2018/01/'+d)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import itertools
def main():
  yy,mm,dd = map(str,input().split('/'))
  print('2018/' + str(mm) + '/' + str(dd))
if __name__ == '__main__':
  main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

y, m, d = sys.stdin.readline().rstrip().split('/')
y = '2018'

def main():
    print('/'.join([y, m, d]))

if __name__ ==  '__main__':
    main()

Submission status: Accepted

Solution code:
s = input()


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

Submission status: Accepted

Solution code:
# ABC 085: A – Already 2018
s = input()
#print(s[:3] + '8' + s[4:])
print(s.replace('2017', '2018'))

Submission status: Accepted

Solution code:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

if __name__ == '__main__':
    s=input()
    s ="2018" + s[4:]

    print(s)

Submission status: Accepted

Solution code:
s=input();a='2018';b=s[4:]
c=a+b
print(c)

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    t = list(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
from math import sqrt
from collections import Counter

input = sys.stdin.readline


def I():
    return int(input())


def MI():
    return map(int, input().split())


def LI():
    return list(MI())


inf = float("inf")
mod = 10 ** 9 + 7


def main():
    s = input()

    print(s.replace("7", "8", 1))

    pass


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s1,s2,s3 = input().split('/')
print('2018/01/'+s3)

Submission status: Accepted

Solution code:
N = input()
if (N[0:5]) == 2018:
    print(N)
else:
    print("2018/"+(N[5:]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=str(input())
print("2018"+S[4]+S[5]+S[6]+S[7]+S[8]+S[9])

Submission status: Accepted

Solution code:
import math

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:

import math
import itertools
import statistics
import collections

s = input()
#a = list(map(int, input().split()))
for i in range(len(s)):
    if i==3:
        print("8", end="")
    else:
        print(s[i], end="")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# | Its_Rashid | #
a = input()
v = list(a)
v[3] = '8'
print(''.join(v))

Submission status: Accepted

Solution code:
s = list(input())

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

print(s)

Submission status: Accepted

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

date[0] = '2018'

print(date[0] + '/' + date[1] + '/' + date[2])

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=input()

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

Submission status: Accepted

Solution code:
a=input().split('/')
a[0] = '2018' if a[0] == '2017' else a[0]
print('/'.join(a))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

today = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S=input()
s=[a for a in S]
s[3]='8'
moji=''
for a in s:
    moji+=a
print(moji)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# Author: cr4zjh0bp
# Created: Thu Mar 12 20:02:15 UTC 2020
import sys
 
stdin = sys.stdin
inf = 1 << 60
mod = 1000000007
 
ni = lambda: int(ns())
nin = lambda y: [ni() for _ in range(y)]
na = lambda: list(map(int, stdin.readline().split()))
nan = lambda y: [na() for _ in range(y)]
nf = lambda: float(ns())
nfn = lambda y: [nf() for _ in range(y)]
nfa = lambda: list(map(float, stdin.readline().split()))
nfan = lambda y: [nfa() for _ in range(y)]
ns = lambda: stdin.readline().rstrip()
nsn = lambda y: [ns() for _ in range(y)]
ncl = lambda y: [list(ns()) for _ in range(y)]
nas = lambda: stdin.readline().split()

S = ns()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()


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

Submission status: Accepted

Solution code:
p=list(input());p[:4]="2018"
print("".join(map(str,p)))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - Already 2018
s=list(input())
s[3]='8'
print("".join(s))

Submission status: Accepted

Solution code:
#別解

s = input()


s_new = s[:3] + '8' + s[4:]

print(s_new)

Submission status: Accepted

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

s = ''.join(s)

print(s)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

s = list(sys.stdin.readline().strip())

s[0] = "2"
s[1] = "0"
s[2] = "1"
s[3] = "8"
print("".join(s))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
d = input()
d = list(d)
date = d[8 : ]
print("2018/01/" + date[0] + date[1])

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

print(s[:3],'8',s[4:], sep='')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

def Already2018(s):

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

def main():
    s = str(input())
    print(Already2018(s))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

print(S)

Submission status: Accepted

Solution code:
import math
import string


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


def nCr(n, r):
    return math.factorial(n)//math.factorial(n-r)*math.factorial(r)


s = input()
print(int(s[0:4])+1, end="")
print(s[4:])

Submission status: Accepted

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

S[3] = '8'

print(''.join(S))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

Solution code:
S = str(input())

if '2018' in S:
    print(S)
else:
    print("2018"+ S[4:10])

Submission status: Accepted

Solution code:
a = input()
b = []
for i in range(len(a)):
  if i == 3:
    b.append("8")
  else:
    b.append(a[i])

print("".join(b))

Submission status: Accepted

Solution code:
s_17 = list(input())
s_18 = ''

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

print(s_18)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()

a = s.replace("2017","2018")

print(a)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = str(input())
for i in range(10):
    a = S[i]
    if i == 3:
        a = 8
    print(a, end='')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8


def main():

  input_yyyymmdd = input()
  out_yyyy = '2018'
  
  print(out_yyyy + input_yyyymmdd[4:10])
 
  return 0


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!
# coding: utf-8

def main():
    date = list(input().split('/'))
    
    if date[0] != '2018':
        date[0] = '2018'
        
    
    mojiretu = '/'.join(date)
    print(mojiretu)
    return 0


if __name__ == '__main__':
    main()

Submission status: Accepted

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

print(S)

Submission status: Accepted

Solution code:
S = input()

print(S.replace('17/', '18/'))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve():
    _, m, d = input().split('/')
    return '2018/' + m + '/' + d

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('2018/01/{}'.format(input()[8:]))

Submission status: Accepted

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


s = input().strip()
#----------
words = s.split("/")
print( "/".join( ["2018"] + words[1:] ) )

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(input())

S[3] = "8"

print("".join(S))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

main()

Submission status: Accepted

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

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(*s, sep='')

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:
print("{}".format(input().replace("2017","2018")))

Submission status: Accepted

Solution code:
# 入力　文字列1つ
S = input()

# 出力 : 文字列の書き換え
print(S.replace("2017", "2018"))

Submission status: Accepted

Solution code:
try:
    S = input()
    print("2018" + S[4:])
except EOFError:
    pass

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = list(map(str, input()))
S[3] = "8"

for s in S:
  print(s, end = "")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
y,m,d=input().split("/")
print("2018/{}/{}".format(m,d))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = str(input())

ans = "2018" + s[4:]

print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-


def main():
    S = input().split('/')
    print('2018', *S[1:], sep='/')


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
date = input()

a = list(map(str, date.split('/')))

a[0] = '2018'

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

#webで検索しながら

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
if s[:7] == '2017/01':
    s = '2018/01' + s[7:]
print(s)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/python3
# vim: set fileencoding=utf-8:
import sys
import re
input = sys.stdin.readline


def main():
    S = list(input().rstrip())
    S[3] = '8'
    print("".join(S))


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
"""
author : halo2halo
date : 24, Jan, 2020
"""

import sys
import itertools

# import numpy as np

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N=readline().decode('utf8')
S=N[:3]+'8'+N[4:]
print(S)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
s = input()
print(s[:3]+"8"+s[4:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

S[0] = '2018'

print('/'.join(S))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()
ans = '2018/'
for i in range(5,10):
    ans += S[i]
print(ans)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
# 文字列の入力
s = input()
# 4文字目を8に変換
ans = s[:3] + "8" + s[4:]
# 結果を表示
print(ans)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

SR = S.replace(S[3],'8',1)

print(SR)

Submission status: Accepted

Solution code:
S=input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

L = S.split("/")

L[0] = "2018"

print(L[0]+"/"+L[1]+"/"+L[2])

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def main():
    s = list(input())

    s[3] = 8

    s = [str(i) for i in s]

    print(''.join(s))

if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
year,month,day = input().split("/")
print("2018/{}/{}".format(month,day))

Submission status: Accepted

Solution code:
S = input()

year, month , date = S.split('/')

print('{0}/{1}/{2}'.format('2018',month,date))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
day = input()

if (day[3] == '7'):
    day = day[:3] + '8' + day[4:]
    
print(day)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s=list(str(input()))
s[3]=str(int(s[3])+1)
print("".join(s))

Submission status: Accepted

Solution code:
s = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
S = list(input().strip())
S[3] = "8"
ans = ""
for s in S:
    ans += s
print(ans)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import math
import queue
import bisect
import heapq
import time
import itertools

mod = int(1e9+7)

def swap(a,b):
    return (b,a)

def gcd(a,b): #最大公約数
    if (a<b):
        a,b = swap(a,b)
    if (b==0):
        return a
    else:
        return gcd(b,a%b)

def lcm(a,b): #最小公倍数
    return a/gcd(a,b)*b

def divisors(a): # 約数列挙
    divisors = []
    for i in range(1,int(a**0.5)+1):
        if a%i==0:
            divisors.append(i)
            if i!=a//i:
                divisors.append(a//i)
    return divisors

def is_prime(a): #素数判定
    if a<2:
        return False
    elif a==2:
        return True
    elif a%2==0:
        return False
    sqrt_num = int(a**0.5)
    for i in range(3,sqrt_num+1,2):
        if a%i==0:
            return False
    return True

def prime_num(a): #素数列挙
    pn = [2]
    for i in range(3,int(a**0.5),2):
        prime = True
        for j in pn:
            if i%j==0:
                prime = False
                break
        if prime:
            pn.append(i)
    return pn

def prime_fact(a): #素因数分解
    sqrt = math.sqrt(a)
    res = []
    i = 2
    if is_prime(a):
        res.append(a)
    else:
        while a!=1:
            while a%i==0:
                res.append(i)
                a //= i
            i += 1
    return res

def main():
    s = input()
    ss = ['2','0','1','8']
    for i in range(10):
        if i<4:
            continue
        ss.append(s[i])
    print(''.join(ss))
    return

if __name__=='__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()

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

print(''.join(S))

Submission status: Accepted

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

print("2018"+'/'+m+'/'+d)

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline
s=input().strip()
print("2018/"+s[5:])

Submission status: Accepted

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

Submission status: Accepted

Solution code:


"""
2017/01/31

2018/01/31

"""

date=input()

dates=date.split('/')
dates[0]='2018'
print('/'.join(dates))

Submission status: Accepted

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

date = input()

dates = date.split('/')
dates[0] ='2018'
print('/'.join(dates))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s = input()
t = '2018'

for i in range(len(s)):
  if i > 3:
    print(s[i],sep='',end='')
  else:
    print(t[i],sep='',end='')

Submission status: Accepted

Solution code:
# coding: utf-8


def main():

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

    print(''.join(input_))

    return 0


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
s1,s2,s3=input().split('/')
s1='2018'
print(s1+'/'+s2+'/'+s3)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

print(*s, sep='')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin


def fetch_one_line():
    return stdin.readline().rstrip()


def fetch_int_input():
    return [int(s) for s in fetch_one_line().split()]


def fetch_inputs(times):
    return [fetch_one_line() for _ in range(times)]


def fetch_int_inputs(times):
    return [[int(s) for s in fetch_one_line()] for _ in range(times)]


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
S = input()


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

Submission status: Accepted

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
# Problem https://atcoder.jp/contests/abc085/tasks/abc085_a
# Python 3rd Try
import copy


def solver(errorStr):
    strList = list(errorStr)
    trueList = copy.deepcopy(strList)
    trueList[3] = '8'
    result = ''.join(trueList)
    return result


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