#include<iostream>
using namespace std;


int main()
**

int a[1000] = {8,4,3,2,3,2,2,4,4,4};
int b[1000];
int m = 0;
int s = 0;
int l = 0;
int n;


for (int i = 0; i < 10; i++)
**


for (int j = 0; j < 1000; j++)
**
if (a[s] == a[j])
m = m + 1;


}





cout << a[s] << " " << m << endl;
s++;
m = 0;
}


system("pause");
return 0;
}