eolymp
Competitions

Виток 1, Шаг 8 - Битовые операции

Change the one

Number n is given. Using bit operations, replace the rightmost bit one in the binary notation to zero.

Input

One number n (1n108).

Output

Print one changed number.

Time limit 1 second
Memory limit 64 MiB
Input example #1
1
Output example #1
0
Input example #2
18
Output example #2
16
Input example #3
196
Output example #3
192