function Main(s){
	s=s.split(/\n|\s/);
	s.forEach(function(e,i,a){a[i]=Number(a[i]);});
	
	if(!s[0]){s[0]=1;}
	else if(s[0]==1){s[0]=100;}
	else{s[0]=10000;}
	
	console.log(s[0]*s[1]);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));