#include <stdio.h>
int main()
{
int i,j,a,b,c,d,e;
char alpha[4][6]={"FORTY","TEN","TEN","SIXTY"};
char echo[7][3];
for(i=0;i<4;i++)
{
for(j=0;j<7;j++)
if(alpha[i][j]=='F')
{
echo[i][j]={"40+"};
}
if(alpha[i][j]=='T')
{
a++;
if(a==2)
{
echo[i][j]={"10+"};
}
else
{
cho[i][j]={"10="};
}
}
else
{
echo[i][j]={"60"};
}
}
for(i=0;i<7;i++)
{
for(j=0;j<7;j++)
{
printf("%d", echo[i][j]);
}
}
}



