An integer n
is given. Print the next even number.
The problem must be solved by integer operations without using conditional operators (including without the ternary operator ?: in C++) and/or loops.
Input
Enter a positive integer not exceeding 1000.
Imprint
Print the answer to the problem.
Examples
# |
Input |
Output |
1 |
7 |
8 |
2 |
8 |
10 |