A student's marks in 4 subjects out of 100 are inputted. Write a program in C to display the percentage of marks scored by that student. Considering that marks scored in 4 subjects are distinct, also display the second highest marks scored by that student.
Input Format
Space separated 4 integers where each integer is less than equal to 100
Output Format
Space separated two numbers, first number is float (representing the percentage) and second number is integer (represents the second highest marks)
Constraints
No Constraints
Example
Input
80 40 60 45
Output
56.250000 60