#include <iostream>
using namespace std;

int main() {
	int a[10];
 
 
    for(int i=0; i<10; i++)
    {
        cout<<"Bitte ganze Zahl eingeben"<<endl;
        cin>> a[i];
    }
    
    int anz = 0;
    for(int i = 0; i < 10; i++)
    {
    	for(int ii = 0; ii < 10; ii++)
    	{
    		if(a[ii] == i)
    		  anz++;
    	}
    	if(anz > 0)
    		cout << "Die Zahl " << i << " kommt " << anz << "x vor." << endl;
    	anz = 0;
    }
	// your code goes here
	return 0;
}