bitwise_not

Computes the bitwise negation of an integer.

Input

value

The integer to negate.

Output

output

Each bit of the output integer is 1 only if the corresponding bits in the value integer is 0. Otherwise, the bit is 0.