fun main(args: Array<String>){
    val (d, n) = readLine()!!.split(" ").map(String::toInt)
    println(when(n) {
        100 -> when(d) {
            0 -> (n + 1)
            1 -> 100 * (n + 1)
            else -> 10000 * (n + 1)
        }
        else -> when(d) {
            0 -> n
            1 -> 100 * n
            else -> 10000 * n
        }
    })
}
