a=['apple','ice cream','watermelon','chips','hotdogs','hotpot']
while a != []:
    b=a.pop()
    print(a)
    continue