

実行時間制限: 2 sec / メモリ制限: 256 MB
配点 : 点
問題文
年 月某日、高木さんは書類を書いています。書類には、その日の日付を yyyy/mm/dd
という形式で書き込む欄があります。例えば、 年 月 日は 2018/01/23
となります。
書類を書き終えたあと、高木さんは日付欄の先頭に誤って 2017
と書いてしまっていたことに気がつきました。高木さんが日付欄に書いた文字列 を入力すると、 の先頭の 文字を 2018
に修正して出力するプログラムを書いてください。
制約
- は長さ の文字列である。
- の先頭の 文字は
2017/01/
である。 - の末尾の 文字は数字であり、 以上 以下の整数を表す。
入力
入力は以下の形式で標準入力から与えられる。
出力
の先頭の 文字を 2018
に置き換えて出力せよ。
入力例 1Copy
2017/01/07
出力例 1Copy
2018/01/07
入力例 2Copy
2017/01/31
出力例 2Copy
2018/01/31
Score : points
Problem Statement
On some day in January , Takaki is writing a document. The document has a column where the current date is written in yyyy/mm/dd
format. For example, January , 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, , is given as input, modifies the first four characters in to 2018
and prints it.
Constraints
- is a string of length .
- The first eight characters in are
2017/01/
. - The last two characters in are digits and represent an integer between and (inclusive).
Input
Input is given from Standard Input in the following format:
Output
Replace the first four characters in with 2018
and print it.
Sample Input 1Copy
2017/01/07
Sample Output 1Copy
2018/01/07
Sample Input 2Copy
2017/01/31
Sample Output 2Copy
2018/01/31