class Solution(object):
    def reverseBits(self, n):
        """
        :type n: int
        :rtype: int
        """
        return int('{0:032b}'.format(n)[::-1], 2)
class Solution(object):
    def reverseBits(self, n):
        """
        :type n: int
        :rtype: int
        """
        return int('{0:032b}'.format(n)[::-1], 2)
:type n: int         :rtype: int