Confidentiality
Four programmers are working together on a project in an office. Their contract prohibits them from sharing their salaries to prevent any potential envy among colleagues. However, being skilled PHP programmers, they have managed to calculate their average salary without breaching the contract. After this calculation, each programmer expressed whether they were satisfied or dissatisfied with their salary. A programmer is considered satisfied if their salary is at least equal to the average salary in the office; otherwise, they are dissatisfied. As the company manager, your task is to determine which programmers can reliably identify at least one of the highest-paid employees and which can identify all of them.
Input
The input consists of a single line containing 4 natural numbers, representing the monthly salaries of the programmers in dollars. It is known that these salaries are not excessively high, with a maximum of 10^9 dollars, and they are at least one dollar.
Output
Output 2 numbers, separated by a space: the first number is the count of programmers who can identify at least one of the highest-paid employees, and the second number is the count of programmers who can identify all of the highest-paid employees.