while True: try: l = list(map(int,input().split())) if l[0] == 0: print(0) else: &nbs...