for i in range(1,101): j=1 while~-str(j).startswith(`i`):j*=2 print j