Given a number, replace the low zero bit (first zero from the right) by one.
Branches and loops are prohibited.
Input
The program receives a non-negative number a
.
Output
Print the resulting number.
Examples
# |
Input |
Output |
1 |
0 |
1 |
2 |
5 |
7 |
Запрещенные операторы:for;while;if;return