function Main(input) {
    var DN = input.split(' ');
    var D = Number(DN[0]);
    var N = Number(DN[1]);

    if (D === 0) console.log(N);
    else if (D === 1) console.log(N * 100);
    else console.log(N * 10000);    
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
