{-# OPTIONS_GHC -O2 -funbox-strict-fields #-}

main = do
  [d, n] <- map read . words <$> getLine
  print $ solve d n

solve :: Int -> Int -> Int
solve d n = 100^d * (n - floor ((fromIntegral n - 1) / 99))
