## GFSSOC '17 J2 - Admission Average

View as PDF

Points: 3 (partial)
Time limit: 2.0s
Memory limit: 64M

Authors:
Problem type

Ace is applying to University of Waterloo Software Engineering and he wants to know whether his top 6 average and Admission Information Form. Given his top six integer grades, and an integer AIF score , determine if he can get in. The average is the average of the top 6 grades plus the AIF score. Waterloo sets the minimum integer admission requirement . Output yes if Ace can make it. Otherwise, output no.

#### Input Specifications

The first six lines of input are his six integer marks.

The next line is the integer AIF score.

The final line is the integer admission requirement.

#### Output Specifications

yes if Ace can get into Waterloo Software Engineering, no if he cannot

#### Sample Input 1

95
96
92
88
98
94
5
96

#### Sample Output 1

yes

#### Sample Input 2

75
79
69
72
88
90
3
82

#### Sample Output 2

no