hey can any one try out this problem....
1)Write a program to read a sequence of N integers and print the number that appears the maximum number of times in the sequence.
Input contains two lines. First line in the input indicates N, the number of integers in the sequence. Second line contains N integers, separated by white space.
Element with the maximum frequency. If two numbers have the same highest frequency, print the number that appears first in the sequence.
1 <= N <= 10000
The integers will be in the range [-100,100].