e-olymp
Competitions

Programming Principles 1. Week 2. September 9 - 15. PART 2

Previous odd integer

Integer n is given. Print the previous odd number for n.

Input

One integer n.

Output

Print the odd number before n.

Time limit 1 second
Memory limit 128 MiB
Input example #1
7
Output example #1
5
Input example #2
8
Output example #2
7
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"