var s,t:string(999);i:word;begin str(s:999,s);repeat readln(t);for i:=1to length(t)do if^`0end.