Milk and a pie
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
The pupil of the first class additionally obtain the glass of milk and a pie if his weight is less than 30 kilo. In the first class n pupils are studying. The volume of the glass of milk is 200 ml, and the volume of the package of milk is 0,9 liters. Find the number of additional packages of milk and cakes needed every day.
Input
The first line contains the integer n (0 < n ≤ 100). The next line contains n positive real numbers – the weights of first-graders.
Output
Print two integers in one line - the number of additional packages of milk and cakes needed every day.
Examples
Input #1
Answer #1
Input #6
Answer #6
Submissions 27K
Acceptance rate 23%