n=3 while 1: r=input();n-=1 if'0'1::2]*b)[1:]);"*p*a);n=3 l=len(r)-2