#include<iostream>
#define random(x) rand()%x
using namespace std;
int main()
{
for(int i = 0;i < 10;i++)
cout << random(10) << endl;
}