function Main(s){
  s = s.split(" ").map(a=>+a);
  var ans = 0;
  if(s[0] === 0)ans = s[1];
  else if(s[0] === 1)ans = 100 * s[1];
  else ans =10000 * s[1];
  console.log(ans);
}
Main(require("fs").readFileSync("/dev/stdin","utf8"));