P26743 [AtCoder] Remainder
普及
题目描述

Problem Description

Given a positive integer $ X $. Output the remainder when $ X $ is divided by $ 21 $.

Input Format

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

$ X $

Output Format

Output the remainder when $ X $ is divided by $ 21 $.

Sample Input and Output

Sample Input #1

50

Sample Output #1

8

Sample Input #2

42

Sample Output #2

0

Sample Input #3

5

Sample Output #3

5

Notes/Hints

Constraints

  • $1 \leq X \leq 100$.
  • $ X $ is an integer.

Sample Explanation 1

The remainder when $ 50 $ is divided by $ 21 $ is $ 8 $, so output $ 8 $.

Sample Explanation 2

$ X $ may be divisible by $ 21 $. In this case, the remainder is $ 0 $, so output $ 0 $.

Sample Explanation 3

The remainder when $ 5 $ is divided by $ 21 $ is $ 5 $, so output $ 5 $.

输入格式

见题面 Input 部分

输出格式

见题面 Output 部分

样例输入
50
样例输出
8