Олимпиадный тренинг

Задача 18698. Find the same


Задача

Темы:
Number N is entered, and then N numbers - array elements (\(1<=N<=100\) ), array elements are natural numbers not exceeding 100. 
It is necessary to determine the numbers of places in the array where  the same elements stand, or two numbers 0 (that is, 0 0) if all the elements are different. If there are multiple pairs of numbers that are the answer, output any of them.


Input
The first line contains a natural number N - the number of numbers. In the second line - N natural numbers (\(2<=N<=100\), all numbers do not exceed 100 ).

Imprint
Print the answer to the problem.
 
 
Examples
# Input Output
1
1 2 1 3 4     
1 3
2
4
1 2 3 4
0 0