P25466 [AtCoder] [ABC011A] What Month Is Next Month?
入门
题目描述

Problem Description

Takahashi made a promise to go out next month.

However, Takahashi is not very smart and doesn't know what month comes next.

Given the current month, please write a program that outputs what month comes next.

Input Format

The input is given from the standard input in the following format:

$ N $

  • The first line contains an integer $N\ (1\ ≦\ N\ ≦\ 12)$ representing the current month.

Output Format

Output the next month in one line. Make sure to include a newline at the end of the output.

Sample Input and Output

Sample Input #1

1

Sample Output #1

2

Sample Input #2

12

Sample Output #2

1

Notes/Hints

Sample Explanation 1

The month following $ 1 $ is $ 2 $.

Sample Explanation 2

The month following $ 12 $ is $ 1 $.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
1
样例输出
2