For some reason unknown, if I put this solution in one-line, the computation time will double

```
class Solution:
# @param n, an integer
# @return an integer
def reverseBits(self, n):
x = bin(n)[:1:-1].ljust(32,'0')
return int(x, base = 2)
```