a = [] while 1 : b = input() if b != "0" : a.append(int(b)) else : break &nb...