#Mbali Mthethwa


userInput = raw_input("Enter your name ")
list = []

while userInput != 'john'  :
	list.append(userInput)
	userInput = raw_input("Enter your name ")


if userInput == 'john':
        print list



        
	
