R=range;I=lambda:(print(*p),t:=int(input()),t==ns])