#include<bits/stdc++.h> using namespace std; int main() {cout<<"1 10 2 9 1 1 1 1 0 1"<<endl; return 0; }