<>;$_=<>;y/012 /120/duntil/^.0/;print/11/?0:/.$/g