seq = []
num = 1
while True:
num = int(input("Digite o número: "))
if num == 0:
break
seq.append(num)
seq.reverse()
print("")
for i in seq:
print(i)
c2VxID0gW10KbnVtID0gMQoKd2hpbGUgVHJ1ZToKICAgIG51bSA9IGludChpbnB1dCgiRGlnaXRlIG8gbsO6bWVybzogIikpCiAgICBpZiBudW0gPT0gMDoKICAgICAgICBicmVhawogICAgc2VxLmFwcGVuZChudW0pCnNlcS5yZXZlcnNlKCkKcHJpbnQoIiIpCmZvciBpIGluIHNlcToKICAgIHByaW50KGkp