ALGOR Opening Contest: Round #1
Problem D · 100 points ·
ICPC rules
~/algor $ cat contests/round-1/D
D. Add if positive
1000 ms
64 MB
An integer $n$ is given. If $n$ is positive, add $1$ to it; otherwise leave the number unchanged. Find the resulting number.
Input
One integer $n$.
Output
One integer — the result.
Note
$-10^{9} \le n \le 10^{9}$
Examples
Input #1
5
Output #1
6
Input #2
-3
Output #2
-3