#include <iostream>

using namespace std;
int main()
{
    int a,i,m1,m2,m3,m4; 
    float b;
    char c,d[100];
    cin>>a;
    cout<<"enter no of students \n"<<a;
    for(i=1;i<=a;i++)
    {
        cin>>c;
        cin>>d[100];
        cin>>m1,m2,m3,m4;
        b=(m1+m2+m3+m4)/4;
        cout<<"enter your initial \n"<<c;
        cout<<"enter yout name \n"<<"a[100]";
        cout<<"enter m1 \n"<<m1;
        cout<<"enter m2 \n"<<m2;
        cout<<"enter m3 \n"<<m3;
        cout<<"enter m4 \n"<<m4;
        cout<<"the average mark of student "<<a<<" is "<<b;
    }
    
    
    
}