Scholarship

시간 제한1초메모리 제한1024 MB

요약
시험 성적이 최대 열 개 주어질 때, 3점 포함 여부, 전부 5점인지, 평균 4.5 이상인지에 따라 받을 장학금 종류를 판정한다.
난이도

쉬움10점 중 2점

유형
구현, 수학
정답자
아직 제출이 없습니다

문제

At last the first term at the University came to its finish. Android Vasya has already passed all the exams and wants to know if he gets a scholarship. There is the following practice of giving scholarship to students at the University:

  • if a student has got satisfactory marks, the scholarship is not given,
  • if a student has passed through the examination period with only excellent marks, he gets a personal scholarship,
  • if a student doesn't get a personal scholarship and his average mark is not less than 4.54.5, he gets a high scholarship,
  • if a student gets neither high nor personal scholarship and doesn't have satisfactory marks, he gets a common scholarship.

A satisfactory mark corresponds to value 3, a good mark corresponds to value 4, and an excellent mark corresponds to value 5. An average mark for a student is the average value of all the marks this student got in his exams.

Help Vasya find out which scholarship he gets.

입력

The first line contains an integer nn --- the number of exams (1≤n≤101 \leq n \leq 10). In the ii-th of the next nn lines there is an integer m_im\_i --- value of Vasya's mark in ii-th exam (3≤m_i≤53 \leq m\_i \leq 5).

출력

If Vasya doesn't get any scholarship output None. If he gets a common scholarship output Common, if he gets a high scholarship output High, if he gets a personal one output Named.

예제2

  1. 예제 1

    입력
    3
    5
    5
    4
    
    예상 출력
    High
    
  2. 예제 2

    입력
    3
    3
    3
    3
    
    예상 출력
    None