function Main (input) {
  const inputValue = input.split(/\s/g);
  const parameter = 100;
  var times = inputValue[0];
  if (times < 0) times = 0;
  if (times > 2) times = 2;
  var index = inputValue[1];
  if (index > parameter) index = parameter;
  if (index < 1) index = 1;

  if (times === 0) return console.log('%s', index);
  console.log('%s', Math.pow(parameter, times) * index);
}

Main(require("fs").readFileSync("/dev/stdin", "utf8"));
