r=return;x!"i"=r$x+1;x!"d"=r$max(x-1)0;16!"s"=r$0;x!"s"=r$x*x;x!"o"=print x>>r x;x!_=r$x;g x=getLine>>=(x!)>>=g;main=g 0