#include <bits/stdc++.h>
using namespace std;
int main(){
	long long n=99999;
	while(1){
		cout<<n<<" *** ";
		n*=9;
	}
	return 0;
}