Write a program to find the first line of the input where two different values appear the same number of times.
Input
The input comes in standard input stdin and consists of zero or more integers separated by blank spaces and organized into zero or more nonempty lines.
Output
The output must have the form "Line: ’...’ has some equally frequent values" where the dots must be replaced by the first line in the input in which there are two or more different values that appear with the same nonzero frequency; or, if no such line exists in the input, the message "No line has equally frequent values". Make sure that the output format matches the examples.
Input
1 2 3 2 1 2 4 4 5 5 5 6 7 8 9 9 7 8 1 2 2 3 3 3 4 4 5 5 6 6
Output
Line: '7 8 9 9 7 8' has some equally frequent values
Input
1 1 2 2 1 2 2 3 3 3 1 2 2 3 3 3 4 4 4 4 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 6 6 6 6 6 6
Output
No line has equally frequent values
Input
1 2 3 2 1 -42 -42 42 42
Output
Line: '1 2 3 2 1' has some equally frequent values
Input
25 24 23 24 23 22 23 22 22 22 404 1000 404 2000 404 -5 -5 0 -55 -55
Output
Line: '404 1000 404 2000 404' has some equally frequent values