open Batteries
let () =
  let d,n = Scanf.scanf "%d %d " (fun a b -> a,b) in

  let d = match d with
      0 -> 1
    | 1 -> 100
    | 2 -> 10000
  in

  let n = if n = 100 then 101 else n in

  Printf.printf "%d\n" @@
  d*n
