Python 3 one liner


#1

int(bin(A)[2:].zfill(32)[::-1],2)