#abc335a. A - 202<s>3</s>

A - 202<s>3</s>

Score : 100100 points

问题描述

你将得到一个由小写英文字母和数字组成的字符串 SS
保证 SS2023 结尾。
SS 的最后一个字符改为 4,并输出修改后的字符串。

以上为通义千问 qwen-max 翻译,仅供参考。

Problem Statement

You are given a string SS consisting of lowercase English letters and digits.
SS is guaranteed to end with 2023.
Change the last character of SS to 4 and print the modified string.

Constraints

  • SS is a string of length between 44 and 100100, inclusive, consisting of lowercase English letters and digits.
  • SS ends with 2023.

Input

The input is given from Standard Input in the following format:

SS

Output

Print the answer.

Sample Input 1

hello2023

Sample Output 1

hello2024

Changing the last character of hello2023 to 4 yields hello2024.

Sample Input 2

worldtourfinals2023

Sample Output 2

worldtourfinals2024

Sample Input 3

2023

Sample Output 3

2024

SS is guaranteed to end with 2023, possibly being 2023 itself.

Sample Input 4

20232023

Sample Output 4

20232024

update @ 2024/3/10 01:22:52