~/algor $ cat problems/keyingi-va-oldingi
Next and previous number
Easy
1000 ms
64 MB
5%
An integer $n$ is given. Print the previous number $n - 1$ and the next number $n + 1$.
Input
One integer $n$.
Output
$n - 1$ on the first line, $n + 1$ on the second line.
Note
$-10^{9} \le n \le 10^{9}$
Examples
Input #1
5
Output #1
4 6
Input #2
0
Output #2
-1 1