#K65027. Maximum Identical Objects Count
Maximum Identical Objects Count
Maximum Identical Objects Count
Given a list of object identifiers, your task is to determine the maximum count of any identical object. In other words, if you have a list of integers \(a_1, a_2, \dots, a_n\), you need to compute \(\max_{x} \; count(x)\), where \(count(x)\) is the number of occurrences of \(x\) in the list.
This problem tests your ability to quickly and efficiently process data and count frequencies. The input is provided via standard input and your program should print the result to standard output.
inputFormat
The input consists of two lines:
- The first line contains a single integer \(n\), which is the number of objects.
- The second line contains \(n\) space-separated integers representing the identifiers of the objects.
outputFormat
Output a single integer representing the maximum frequency of any identifier in the list. The result should be printed to standard output.
## sample6
2 4 2 4 4 5
3