A - Already 2018 解説 /

実行時間制限: 2 sec / メモリ制限: 256 MB

配点 : 100100

問題文

2018201811 月某日、高木さんは書類を書いています。書類には、その日の日付を yyyy/mm/dd という形式で書き込む欄があります。例えば、20182018112323 日は 2018/01/23 となります。

書類を書き終えたあと、高木さんは日付欄の先頭に誤って 2017 と書いてしまっていたことに気がつきました。高木さんが日付欄に書いた文字列 SS を入力すると、SS の先頭の 44 文字を 2018 に修正して出力するプログラムを書いてください。

制約

  • SS は長さ 1010 の文字列である。
  • SS の先頭の 88 文字は 2017/01/ である。
  • SS の末尾の 22 文字は数字であり、11 以上 3131 以下の整数を表す。

入力

入力は以下の形式で標準入力から与えられる。

SS

出力

SS の先頭の 44 文字を 2018 に置き換えて出力せよ。


入力例 1Copy

Copy
2017/01/07

出力例 1Copy

Copy
2018/01/07

入力例 2Copy

Copy
2017/01/31

出力例 2Copy

Copy
2018/01/31

Score : 100100 points

Problem Statement

On some day in January 20182018, Takaki is writing a document. The document has a column where the current date is written in yyyy/mm/dd format. For example, January 2323, 20182018 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, SS, is given as input, modifies the first four characters in SS to 2018 and prints it.

Constraints

  • SS is a string of length 1010.
  • The first eight characters in SS are 2017/01/.
  • The last two characters in SS are digits and represent an integer between 11 and 3131 (inclusive).

Input

Input is given from Standard Input in the following format:

SS

Output

Replace the first four characters in SS with 2018 and print it.


Sample Input 1Copy

Copy
2017/01/07

Sample Output 1Copy

Copy
2018/01/07

Sample Input 2Copy

Copy
2017/01/31

Sample Output 2Copy

Copy
2018/01/31


2025-03-14 (金)
13:11:16 +00:00