n=['apple', 'ice cream', 'watermelon', 'chips', 'hotdogs', 'hotpot']
f=n
while len(f):
    f=f[:-1]
    print(f)