b = 1 for i in range(30): b = b * 2 print b