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: Wrong Answer

Solution code:
import sys

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
#-------------
S = input().split("/")
#-------------
print(S)
S = list(S)
print("2018" + "/" + S[1] + "/" + S[2])

Submission status: Wrong Answer

Solution code:
print('2018/01/',input()[8:],end='')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
import math
import itertools
import collections
import heapq
import re
import numpy as np

rr = lambda: sys.stdin.readline().rstrip()
rs = lambda: sys.stdin.readline().split()
ri = lambda: int(sys.stdin.readline())
rm = lambda: map(int, sys.stdin.readline().split())
rl = lambda: list(map(int, sys.stdin.readline().split()))
inf = float('inf')
mod = 10**9 + 7

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

Submission status: Wrong Answer

Solution code:
x = input()

print("2018" + x[6:])

Submission status: Wrong Answer

Solution code:
import sys
S = input()
if len(S) != 10:
    sys.exit()
if S[0:8] != '2017/01/':
    sys.exit()
if 1 <= int(S[-2:]) <= 31:
    sys.exit()

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

Submission status: Wrong Answer

Solution code:
import sys
S = input()
if len(S) != 10:
    sys.exit()
if S[0:8] != '2017/01/':
    sys.exit()
if 1 <= int(S[-2]) <= 31:
    sys.exit()
    
print(S.replace('2017','2018'))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input()
b = a[0:4]
f = a[5:7]
c = int(a[-2:])
b = "2018"

print(b + "/" + f + "/" + str(c))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("2018"+input())

Submission status: Wrong Answer

Solution code:
s = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

if __name__ == '__main__':

    ABC_85_A()

Submission status: Wrong Answer

Solution code:
import datetime

S = input()
S = datetime.datetime.strptime(S, '%Y/%m/%d')



a = int(S.year)

if a != 2018:
    S = S.replace(2018)
    
print(S.date())

Submission status: Wrong Answer

Solution code:
import datetime

S = input()
S = datetime.datetime.strptime(S, '%Y/%m/%d')



a = int(S.year)

if a != 2018:
    S = S.replace(2018)
    
S = S.date

print(S)

Submission status: Wrong Answer

Solution code:
import datetime

S = input()
S = datetime.datetime.strptime(S, '%Y/%m/%d')



a = int(S.year)

if a != 2018:
    S = S.replace(2018)
    
print(S)

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

Solution code:

S = input()
S[0:4]=="2017"
print(S)

Submission status: Wrong Answer

Solution code:

S = input()
S[0:4]==2017
print(S)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# 85 A
L = input()
L1 = L.replace("7","8")


print(L1)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# n, total = map(int, input().split())
n, total = 9, 45000
min = n * 1000
max = n * 10000
if (total > max) or (total < min):
    print('-1 -1 -1')
else:
    min_man = (total - (5000 * n)) // 10000
    n -= min_man
    total -= min_man*10000
    min_sen = (total % 5000) // 1000
    total -= min_sen*1000
    n -= min_sen
    success = False
    for i in range(int(total // 10000)+1):
        if success:
            break
        ii = total - i*10000
        for j in range(int(ii // 5000)+1):
            jj = ii - j*5000
            k = jj//1000
            if i + j + k + min_sen + min_man == n:
                print(str(i+min_man) + ' ' + str(j) + ' ' + str(k+min_sen))
                success = True
                break

    if not success:
        print('-1 -1 -1')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = list(input())
S[2] = '8'
print(S)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8

S = input()

S = S.replace("7","8")
print(S)

Submission status: Wrong Answer

Solution code:
S = input()

answer = S[0:2] + "8" + S[4:9]

print(answer)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = list(input())

N[0] = "2"
N[1] = "0"
N[2] = "1"
N[3] = "8"

print(N)
date = ''.join(N)
print(date)

Submission status: Wrong Answer

Solution code:
N = list(input())

N[3] = "8"

print(N)
date = ''.join(N)
print(date)

Submission status: Wrong Answer

Solution code:
N = list(input())

N[3] = "7"
date = ''.join(N)
print(date)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
print('2018/'+s[6:11])

Submission status: Wrong Answer

Solution code:
#85A already2018
s=input()
s=s[:2]+"7"+s[4:]
print(s)

Submission status: Wrong Answer

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

for s in s_17:
    if (s != '7'):
        s_18 += s
    else:
        s_18+='8'

print(s_18)

Submission status: Wrong Answer

Solution code:
s_17 = list(input())
# print(s_17)
s_17[3] = 8
print(*s_17)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()

a = s.replace(s[:5],"2018")

print(a)

Submission status: Wrong Answer

Solution code:
s = input()

a = s.replace(s[:9],"2018/01/")

print(a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
str = input()
str[3] == '7'
print(str)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
print(s[3])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()



print(S.replace('7','8'))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
import sys
input = sys.stdin.readline
s=input().strip()
print("2017"+s[4:])

Submission status: Wrong Answer

Solution code:
s = input()

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

print(S)

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Here your code !

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = list(input())
print("".join(S))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = input()
n = n[0:3] + str(8) + n[5:]
print(n)

Submission status: Wrong Answer

Solution code:
n = input()
n = n[0:3] + '8' + n[5:]
print(n)

Submission status: Wrong Answer

Solution code:
n=input()
print(n[0:3] + '8' + n[5:])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = input()
print(n[:3] + '8' + n[5:])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

s[0] = 2018

a = str(s[0]) + "/0" + str(s[1]) + "/0" + str(s[2])

print(a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
s.replace('8/', '9/')
print(s)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input().replace("dream","").replace("dreamer","").replace("erase","").replace("eraser","")
if len(s)==0:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
hizuke = list(input())
hizuke[0] = "2"
hizuke[1] = "0"
hizuke[2] = "1"
hizuke[3] = "8"
print(hizuke)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
print('2017/s[3:]')

Submission status: Wrong Answer

Solution code:
s = input()
print('2017/s[4:]')

Submission status: Wrong Answer

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

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#A-Already 2018(ABC085)
S=str(input())
S=S.replace(S[3],"8")
print(S)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
from sys import stdin
N = input()
print(len(set(stdin.read().splitlines())))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
Sin=str(input())
Sout='2017/01/'+Sin[8]+Sin[9]
print(Sout)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()

S = S.replace(S[3], "8")
print(S)

Submission status: Wrong Answer

Solution code:
S = input()   #2017/01/07

S = S.replace(S[3], "8")
print(S)

Submission status: Wrong Answer

Solution code:
inp = input()
ans = inp.replace(inp[3],str(int(inp[3])+1))
print(ans)

Submission status: Wrong Answer

Solution code:
s = input()

ls = []

for i,j in enumerate(ls):
    if i == 3:
        ls.append("8")
    else:
        ls.append(j)
        
print(''.join(ls))

Submission status: Wrong Answer

Solution code:
a = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input()
b = a[0:3] + '1' + a[4:]
print(b)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = list(input())
print('2017/01/'+''.join(S[8:]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

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

print("2018/01/", end='')
print(d)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(input(2018)[5:])

Submission status: Wrong Answer

Solution code:
S = input()

count=0

if(S[0]=="o"):
  count+=1
  
if(S[1]=="o"):
  count+=1
  
if(S[2]=="o"):
  count+=1
  
print(700+100*count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a, b, c = map(int, input().split("/"))
a = 2018
print("%d/%d/%d"%(a, b, c))

Submission status: Wrong Answer

Solution code:
str2017 = '2017/01/07'
str2017 = str2017.replace('2017', '2018')
print(str2017)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input().split('7')
if '8' in S[0]:
    print(S[0])
else:
    print(S[0]+'8'+S[1])

Submission status: Wrong Answer

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

print(S[0]+'8'+S[1])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s=input()
n=len(s)-2
print(s[0]+str(n)+s[-1])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()

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

Submission status: Wrong Answer

Solution code:
date = input('')
sub_date = date[4:-1]
print('2018{0}'.format(sub_date))

Submission status: Wrong Answer

Solution code:
date = input('')
sub_date = date[4:-1]
print('2018/{0}'.format(sub_date))

Submission status: Wrong Answer

Solution code:
day = input()
if day[3]=='7':
    day = day.replace(day[3], '8')
print(day)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def bills(count, value):
    max10000 = value // 10000
    for i in range(max10000 + 1):
        max5000 = min(count - i, (value - i * 10000) // 5000)
        for j in range(max5000 + 1):
            k = (value - i * 10000 - j * 5000) // 1000
            if i + j + k == count:
                return i, j, k
    
    return -1, -1, -1

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#日付
num = list("2017/01/31")
num[3] = "8"
print("".join(num))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S=input()
SS=S.replace("7","8")
print(SS)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = raw_input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=input()
n=list(n)
print(len(n))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
b = s.split('/')
b[0].replace('7','8')
print('/'.join(b))

Submission status: Wrong Answer

Solution code:
s = input()

b = s.split('/')

b[0].replace('8','7')

print('/'.join(b))

Submission status: Wrong Answer

Solution code:
while True:
    try:
        days = input().split("/")
        answer = days[0].replace("7", "8")
        print(answer) 
    except EOFError:
        break

Submission status: Wrong Answer

Solution code:
s = input()
s = s.replace('7','8')
print(s)
#print(s[0:3] + "8" + s[4:])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
import numpy

N = input()
N_list = list(N)
map(str,N_list)
aaa = []

aaa = set(N_list)

ans = len(aaa) - 1


print(ans)

Submission status: Wrong Answer

Solution code:
S = raw_input('>> ')
a = '2018/01/'
b = S[8:]
print a+b

Submission status: Wrong Answer

Solution code:
# coding: utf-8

N = input()
N_list = list(N)

N_list[3] = 8

print(N_list)

Submission status: Wrong Answer

Solution code:
from pprint import pprint as pp

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

Submission status: Wrong Answer

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

main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print("/".join(input().split()[1:]))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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