e-olymp
Competitions

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

Previous even integer

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

Input

One integer n.

Output

Print the even number before n.

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