#include using namespace std; int main(){ int N;cin>>N; for(int i=0;i>a; cout<<9; for(int j=0;j