#include
using namespace std;
int main()
{
cout'Enter name'<<endl;
string name;
cin >> name;
int x1,x2,x3,x4,x5,x6,x7,z;
cout'Enter the average score of the Qur'an\n';
cin >> x1;
cout'Enter the average score of the Islamic\n';
cin >> x2;
cout'Enter the average score of the Arabic\n';
cin>>x3;
cout'Enter the average score of the English\n';
cin>>x4;
cout'Enter the average score of the Sciences\n';
cin >> x5;
cout'Enter the average score of the Maths\n';
cin >> x6;
cout'Enter the average score of the Social studies\n';
cin>>x7;
z=x1+x2+x3+x4+x5+x6+x7;
cout << 'Total scores=' <<z<< endl;
if(z<350)
cout << 'The student fails' << endl;
else if (z>600)
cout'Distinct';
else if (z>500)
cout << 'Excellent ' << endl;
else if(z==700)
cout << '😍😍' << endl;
else if(z>400)
cout << 'good' << endl;
}