Digits density
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
One big integer n is given. Determine how many times each digit appears in the number n.
Input
One positive integer n (1 ≤ n ≤ 10^100000
).
Output
Print 10 numbers: how many times the digit 0, ..., 9 appears in the number n.
Examples
Input #1
Answer #1
Input #2
Answer #2
Submissions 1K
Acceptance rate 51%