You are given a text containing data that represents a sequence of no more than 10^5 structures:
struct worker
{
char name[6]; // 5 characters + null terminator
char surname[6]; // 5 characters + null terminator
int age; // 10..99
int salary; // 1000..9999
};It is known that name and surname each contain exactly 5 characters. The constraints are 10 \leq \mathrm{age} \leq 99, and 1000 \leq \mathrm{salary} \leq 9999.
The data is given as a single line.
Print the minimum and maximum salary in the first line. In the second line, print the number of workers with the minimum and maximum salary.
Example 1