function main(input) {
  const args = input.split(' ').map(n => parseInt(n, 10));
  
  const D = args[0];
  const N = args[1];
  
  switch(D) {
    case 0:
      console.log(N);
      break;
    case 1:
      console.log(N * 100);
      break;
    case 2:
      console.log(N * 10000);
      break;
    default:
      break;
  }
}

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