Problem

2 /6


Impulse of force

Problem

Jedi use the Force in their actions. It is described as an energy field that all living beings create that binds together everything in the galaxy. In fact, this is an analogue of the Chinese concept of qi. The Force also has a scientific basis: in the process of "cellular respiration"; chemical reactions occur that generate an electrical impulse, albeit a microscopic one.
The energy impulse can be measured by a number from 1 to 9. Each Jedi, depending on his strength and experience, has his own energy impulse. Anakin Skywalker decided to count how many Jedi with a certain energy pulse.
Write a program that automates this calculation.

Input
The input of the program will be a sequence of numbers ending in zero (all numbers are entered in one line, separated by a space). A maximum of 100,000 numbers will be entered in total.

Imprint
Count the number of 1s, the number of 2s, the number of 3s, and so on in the input sequence. and return the result. The output should always be 9 numbers.
 
Example
# Input Output
1 1 1 4 1 5 8 6 3 5 1 0 4 0 1 1 2 1 0 1 0