1. Read the numbers in an array and initialize an array as 'count' of same size.
2. Use a for loop which goes through each element one by one.
3. Within the for loop compare the selected element of array with each element of the array by using second for loop and if the elements matches, the corresponding count gets incremented.
4. When the count is done for all the elements you can find the maximum value of count and you print that out.
This procedure might be long but its an easy way to understand it.