Problems

# Milk and a pie

# Milk and a pie

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.

Input example #1

8 30 27 31 25 32 29 25 30

Output example #1

1 4

Input example #6

30 21.5 36 30 35 22.5 39 45 20.7 38 35 20 24 36 23 20.9 22 21 30 38 33 30 37 31.6 25 32 29 35.8 40 28.9 25

Output example #6

3 13