Hide

Problem A
Tölvunarfræðingar telja

Languages en is

Computer scientists count a bit different from normal people. Most people start counting at $1$, then go to $2$, and after that $3$ follows and so forth. But the first number according to computer scientists is $0$. Therefore the second number is $1$ and the $1\, 337$-th number is $1\, 336$.

Input

Input consists of one line with one integer $n$.

Output

Output the $n$-th number, according to computer scientists.

Scoring

Group

Points

Constraints

1

100

$1 \leq n \leq 10^9$

Sample Input 1 Sample Output 1
1
0
Sample Input 2 Sample Output 2
2
1
Sample Input 3 Sample Output 3
1337
1336

Please log in to submit a solution to this problem

Log in