import io.StdIn._
object Main extends App {
    val Array(d, n) = readLine.split(" ").map(_.toInt)

    val result: Int = d match {
        case 0 => n
        case 1 => 100*n
        case 2 => 10000*n
    }
    println(result)
}