private fun readIntList() = readLine()!!.split(" ").map { it.toInt() }

fun main(args: Array<String>) {
    val (D, N) = readIntList()

    val r = (1..100).map {
        when (D) {
            0 -> 1
            1 -> 100
            2 -> 100 * 100
            else -> 1
        } * it
    }.toList()[N - 1]

    println(if (N != 100) r else r + when (D) {
        0 -> 1
        1 -> 100
        2 -> 100 * 100
        else -> 1
    })
}