Problem Statement:
Amgad got a job as a Cashier in a big store, where he gets thousands of dollars everyday. As a cashier, he must count the amount of each dollar bill (banknote) he has at the end of each day.

Amgad wants you to help him by writing a computer program so Amgad can just enter the amount of each bill and you count each bill separately.


Input Format:
one or more positive numbers ending by zero each number is between 1 and 100 inclusive


Output Format:
print each number only once in one line followed by the number of repetitions


Sample Input:
100 20 5 2 10 20 5 5 20 100 10 2 2 10 5 0


Sample Output:
2 3 5 4 10 3 20 3 100 2





Added by: gammal
Added at: 2015-02-24 23:23:45 UTC
Time Limit: 1 second
Partial score: No