while i: element = i.pop() print(element)