#include <iostream>
using namespace std;
int main()
{
int i,j;
for (i=0;i<3;i++)
if (i == 0)
for (j=9;j>4;j--)
cout<<j<<" ";
}
cout<<endl<<" ";
else if (i == 1)
for (j=4;j>1;j--)
else
cout<<1;
#include <iostream>
using namespace std;
int main()
{
int i,j;
for (i=0;i<3;i++)
{
if (i == 0)
{
for (j=9;j>4;j--)
{
cout<<j<<" ";
}
cout<<endl<<" ";
}
else if (i == 1)
{
for (j=4;j>1;j--)
{
cout<<j<<" ";
}
cout<<endl<<" ";
}
else
{
cout<<1;
}
}
}