Skip to main content

~/algor $ cat contests/round-7/B

B. Next and previous number

Problem B ICPC rules 1000 ms 64 MB

An integer is given. Print the previous number and the next number .

On the number line, n and its two neighbours: the previous and the next number

Input

One integer .

Output

on the first line, on the second line.

Note

Examples

Input #1
5
Output #1
4
6
Input #2
0
Output #2
-1
1

Sign in to submit a solution

Signing up is free and takes a minute.