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

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