import Control.Monad
import Data.Maybe
import qualified Data.ByteString.Char8 as BS
import Data.List
import qualified Data.Vector.Unboxed.Mutable as VUM

readInt = fst . fromJust . BS.readInt
readIntList = map readInt . BS.words
getInt = readInt <$> BS.getLine
getIntList = readIntList <$> BS.getLine

main = do
    n <- getInt
    as <- getIntList
    ans <- replicateM (n+1) 0
    forM_ as $ \i -> do
        a <- VUM.read ans i
        VUM.write ans i (a+1)
        return ()
    forM_ [1..n] $ \i -> do
        b <- VUM.read ans i
        print a
        return ()