eolymp
bolt
Try our new interface for solving problems
Problems

Digits density

Digits density

One big integer n is given. Determine how many times each digit appears in the number n.

Input

One positive integer n (1n10100000).

Output

Print 10 numbers: how many times the digit 0, ..., 9 appears in the number n.

Time limit 1 second
Memory limit 64 MiB
Input example #1
10
Output example #1
1 1 0 0 0 0 0 0 0 0
Input example #2
11234567890
Output example #2
1 2 1 1 1 1 1 1 1 1
Author Rashad Mammadov