#include <iostream>
using namespace std;
int main(){
double n, i, x,sum = 0, average;
while(cin >> n){
for(i = 0; i < n; i++){
cin >> x;
sum = sum + x;
}
average = sum / n;
if(average > 59)
cout << "no\n";
else
cout << "yes\n";
}
return 0;
}
#include
using namespace std;
int main(){
double n, i, x,sum = 0, average;
while(cin >> n){
for(i = 0; i < n; i++){
cin >> x;
sum = sum + x;
}
average = sum / n;
if(average > 59)
cout << "no\n";
else
cout << "yes\n";
}
return 0;
}
while裡sum要初始化