x = 1
answer = 'y'
while answer == 'y':    
    answer = input('Keep going?')
    x = x*2
    print(x)
    
    

x = 1
answer = 'y'
while answer == 'y':    
    answer = input('Keep going?')
    x = x*2
    print(x)
    
    
