import std.algorithm;
import std.array;
import std.conv;
import std.math;
import std.range;
import std.stdio;
import std.string;
import std.typecons;

T read(T)() { return readln.chomp.to!T; }
T[] reads(T)() { return readln.split.to!(T[]); }
alias readint = read!int;
alias readints = reads!int;

int calc(int d, int n) {
    if (d == 0) {
        if (n == 100) return 101;
        return n;
    }

    int x = 100 ^^ d;
    return x * n;
}

void main() {
    auto dn = readints;
    int d = dn[0], n = dn[1];

    auto ans = calc(d, n);
    writeln(ans);
}