#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int c,i,j,n;
cout<<"\nenter the range";
cin>>n;
for(i=1;i<=n;i++)
{
c=1;
for(j=1;j<=i;j++)
{
cout<<c;
if(c==1)
c=0;
else
c=1;
}
cout<<"\n";
}
getch();
}