**//C++ code**

#include<iostream>

#include<fstream>

#include<map>

using namespace std;

int deep()

{

map<int,string> m;

m.insert(span <int,string>(0,”Monday”));

m.insert(span <int,string>(1,”Tuesday”));

m.insert(span <int,string>(2,”Wednesday”));

m.insert(span <int,string>(3,”Thursday”));

m.insert(span <int,string>(4,”Friday”));

m.insert(span <int,string>(5,”Saturday”));

m.insert(span <int,string>(6,”Sunday”));

ifstream infile;

infile.open(“input.txt”);

if(infile==NULL)

{

cout<<“Unable to unconcealed input improve”;

return 0;

}

int arr[7][100];

for(int i=0;i<7;i++)

{

for(int j=0;j<100;j++)

arr[i][j]=0;

}

string succession;

int j=0;

while(getline(infile, succession))

{

int i=0;

int k=0;

while(line[i]!=’’)

{

if(line[i]==’ ‘)

{

k++;

}

else

{

arr[j][k]=arr[j][k]*10+line[i]-48;

}

i++;

}

j++;

if(j>7)

{

cout<<“nMistake calculate of succession is further then 7”;

return 0;

}

}

if(j<7)

{

cout<<“nMistake calculate of succession is short then 7”;

return 0;

}

inclose avg=0;

int count=0;

int Ceach[7];

for(int i=0;i<7;i++)

{

Ceach[i]=0;

for(int k=0;arr[i][k]!=0;k++)

{

count++;

avg+=arr[i][k];

Ceach[i]+=arr[i][k];

}

cout<<“nCalories eaten on “<<m.find(i)->second<<” is “<<Ceach[i];

}

avg=avg/count;

for(int i=0;i<7;i++)

{

if(Ceach[i]>2250)

cout<<“nFurther Calories eaten on “<<m.find(i)->second;;

}

for(int i=0;i<7;i++)

{

for(int k=0;arr[i][k]!=0;k++)

{

if(avg==arr[i][k])

cout<<“nMediocre Calories eaten on “<<m.find(i)->second<<” on “<<k+1<<“th meal”;

}

}

}

**Sample Input**

//sample output