Given a number, reset the lower non-zero bit (i.e. replace the first one from the right to zero).
Branches and loops are prohibited.
Input
A single non-negative number a
.
Output
Print the resulting number.
Examples
# |
Input |
Output |
1 |
1 |
0 |
2 |
5 |
4 |
Запрещенные операторы:for;while;if;return