loop{$><<'-+-'[0<=>i=$.-$.=1+getc,1]*i.abs+'.'}