function main(input) {
  const args = input.split(' ').map(n => parseInt(n, 10));
  
  const D = args[0];
  const N = args[1];
  let cnt = 0;
  
  for (let x = 1; ; x++) {
    if (check(x) === D) {
      cnt++;
      if (cnt === N) {
        console.log(x);
        return;
      }
    }
  }
}

function check(x) {
  if (x % 100 !== 0) return 0;
  return check(x/100) + 1;
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));