传统题 1000ms 256MiB

非 X / Not X

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

Problem Statement

You are given an integer XX between 11 and 33, inclusive.

Output an integer between 11 and 33, inclusive, that is different from XX.

Constraints

  • XX is an integer between 11 and 33, inclusive.

Input

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

  • XX

Output

Output an integer between 11 and 33, inclusive, that is different from XX.

If there are multiple integers satisfying the condition, any of them will be accepted.

1
2

The integers between 11 and 33, inclusive, that are different from X(=1)X(=1) are 22 and 33.

Thus, outputing either 22 or 33 will be accepted.

2
3
3
2

ABC474 赛后模拟赛 ✅

未参加
状态
已结束
规则
IOI
题目
7
开始于
2026-9-6 14:00
结束于
2026-9-20 14:00
持续时间
336 小时
主持人
参赛人数
59