#while
l = ['apple', 'ice cream', 'watermelon', 'chips', 'hotdogs', 'hotpot']
while l:
    l.pop()
    print(l)