while(0readInt;if(a<0)s=s.reverse;println(s*a.abs)}