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

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