#include<iostream>
using namespace std;
int main()
{
int score;
cout << "你考试考了多少分?" << endl;
cin >> score;
if (score > 100 || score < 0)
cout << "请输入0到100的数" << endl;
if (score >= 90 && score <= 100)
cout << "优" << endl;
else if (score < 90 && score >= 80)
cout << "良" << endl;
else if (score < 80 && score >= 60)
cout << "中" << endl;
else cout << "差" << endl;
return 0;
}