Logo
(追記) (追記ここまで)

31394번 - Scholarship 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB40422620754.331%

문제

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ドル.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 $n$ --- the number of exams (1ドル \leq n \leq 10$). In the $i$-th of the next $n$ lines there is an integer $m_i$ --- value of Vasya's mark in $i$-th exam (3ドル \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.

제한

예제 입력 1

3
5
5
4

예제 출력 1

High

예제 입력 2

3
3
3
3

예제 출력 2

None

힌트

출처

Contest > Open Cup > 2014/2015 Season > Stage 14: Grand Prix of East and West K번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /