/*
TASK: mov
LANG: C++
*/
#include <iostream>
#include <cstdlib>
using namespace std;

int N;
int coord[1001][10];

void input()
{cin>>N;
 for(int i=1; i<=N; i++)
  for(int j=1; j<=10; j++)
  cin>>coord[i][j];
} 

int make()
{ for(int i=1; i<=N; i++)
  cout<<1;
}
 
 
 int main()
 { input();
   make();
   system("pause");
     return 0;
 }
