while''do _,p=math.frexp(io.read())print(2^p)end