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: Runtime Error

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

n,y=map(int,input().split())
for i in range(n+1):
    for j in range(n+1-i):
        if(i*10000+j*5000+(n-i-j)*1000==y):
            print(i,j,n-i-j)
            exit()
print(-1,-1,-1)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n, h = map(int, input().split())

a = []
b = []

for i in range(n):
  x, y = map(int, input().split())
  a.append(x)
  b.append(y)

max_a = max(a)

ans = 0
for x in reversed(sorted(filter(lambda x: x >= max_a, b))):
  h -= x
  ans += 1
  if h <= 0: break

ans += max(0, (h + max_a - 1) // max_a)
print(ans)

Submission status: Runtime Error

Solution code:
import re

s = str(raw_input)
s = re.sub('2018', '2017', s, 1)
print(s)

Submission status: Runtime Error

Solution code:
# coding: utf-8
import numpy

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

aaa = set(N_list)

ans = len(ans) - 1


print(ans)

Submission status: Runtime Error

Solution code:
s = input()

s[0] = '2'
s[1] = '0'
s[2] = '1'
s[3] = '7'

print s

Submission status: Runtime Error

Solution code:
n=int(input())
d=[int(input()) for _ in range(n)]
print(len(set(sorted(d))))

Submission status: Runtime Error

Solution code:
import datetime

input_time = input()
old_date = datetime.datetime.strptime(input_time, '%Y/%m/%d')
new_date = old_date + datetime.timedelta(years=1)
print(new_date)

Submission status: Runtime Error

Solution code:
s=input_raw()
print(s)

Submission status: Runtime Error

Solution code:
s=raw_input()

data = s.split('/')
out = '2018/01/'+data[2]

print(out)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s=raw_input()

data = s.split('/')

length = len(data)

out = '2018'
for i in range(1,length):
	out += '/'+data[i]

print(out)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s=input()
s[0]='2'
s[1]='0'
s[2]='1'
s[3]='8'
print(s)

Submission status: Runtime Error

Solution code:
s = int(input())

print(2018 + s[5:])