n = 1 b = 1 while b < 10000: b = b * 2 n = n +1 print n