#include
using namespace std;
int main()
{
int n;
cin>>n;
for (int i=1;i<=n;i++){
if(i%2==0){
cout<<“1”;
for(int i=1;i<=i-2;i++){
cout<<“0”;
}
cout<<"1"<<endl;
}
else {
for(int i=1;i<=n;i++)
{
cout<<"1";
}
cout<<endl;
}
}
return 0;
}