
object Main extends App {
  
  val sc = new java.util.Scanner(System.in)
  val D, N = sc.nextInt()
  val s: Stream[Long] = math.pow(100, D).toLong #:: s.map { n => n + math.pow(100, D).toLong }  
  println(s.filter(x => x.toDouble / 100 != math.pow(100, D)).take(N).last)
}
