#ABC474A. 非 X / Not X
非 X / Not X
Problem Statement
You are given an integer between and , inclusive.
Output an integer between and , inclusive, that is different from .
Constraints
- is an integer between and , inclusive.
Input
The input is given from Standard Input in the following format:
Output
Output an integer between and , inclusive, that is different from .
If there are multiple integers satisfying the condition, any of them will be accepted.
1
2
The integers between and , inclusive, that are different from are and .
Thus, outputing either or will be accepted.
2
3
3
2
- Source: AtCoder ABC 474 A
相关
在下列比赛中: