t=0 for i in open(0).read().split(): if i in ["01","12","20"]: print(1) else: t+=1 if(t==100): break