import Foundation
func toTuple<T>(_ args: [T]) -> (T, T) { (args[0], args[1]) }
func readInts() -> [Int] { readLine()!.split(separator: " ").map { Int($0)! } }

let (d, n) = toTuple(readInts())
var ans = 0
var count = 0
if d == 0 {
  while count < n {
    ans += 1
    if ans % 100 != 0 {
      count += 1
    }
  }
} else if d == 1 {
  while count < n {
    ans += 100
    if !(ans / 100).isMultiple(of: 100) {
      count += 1
    }
  }
} else {
  while count < n {
    ans += 10000
    if !(ans / 10000).isMultiple(of: 100) {
      count += 1
    }
  }
}
print(ans)