Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

EIGPA2 - Grade Point Average

Given a list of grades of different courses, calculate the GPA (grade point average). Note that courses with grades smaller than 50 are not counted.

Input

The first line contains one integer N (0 ≤ N ≤ 105) - the number of courses.

The second line contains N integers a1, a2, a3, ... aN (0 ≤ ai ≤ 100) - the grades of N courses.

Output

The GPA rounded to nearest integer.

Sample

Input

Output

5

40 60 70 80 90

75


Added by:Ha Minh Ngoc
Date:2019-11-04
Time limit:1s
Source limit:50000B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:CSHARP C++ 4.3.2 CPP CPP14 CPP14-CLANG FSHARP GO JAVA JS-MONKEY NODEJS PHP PYTHON PYPY PYPY3 PYTHON3 RUBY SQLITE SWIFT VB.NET
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.