Reverse the Bits
Treat as a 32-bit unsigned number and reverse its bits (bit 0 swaps with bit 31, …). Print the resulting unsigned value.
Input
A single integer .
Output
The reversed value.
Constraints
— use an unsigned or 64-bit type.
Sample 1
Input
1
Output
2147483648
Sample 2
Input
43261596
Output
964176192