fun main(args : Array<String>) {
    val input = readLine()!!.split(" ").map(String::toInt)
    val d = input[0]
    var n = input[1]

    var x = 0
    if (n == 100) {
        n++
    }
    if (d == 0) {
        x = n
    } else if (d == 1) {
        x = 100 * n
    } else {
        x = 10000 * n
    }

    println(Integer.toString(x))
}
