#include #include using namespace std; using namespace atcoder; typedef long long ll; typedef long double ld; #define sz(c) ((ll)(c).size()) #define ALL(x) x.begin(),x.end() #define LB(A,x) (ll)(lower_bound(ALL(A),x)-A.begin()) #define UB(A,x) (ll)(upper_bound(ALL(A),x)-A.begin()) #define BS(A,x) binary_search(ALL(A),x) #define rep(i,a,b) for(int i=a;ibool chmax(T& a, const T& b) { if (a < b) { a = b; return 1; } return 0; } templatebool chmin(T& a, const T& b) { if (b < a) { a = b; return 1; } return 0; } using vi = vector; using vvi = vector; using li =vector; using lli=vector
  • ; const long long mod=998244353; int main() { int n;cin>>n; int p=2; int r=3; vi A(10); A[0]=p*p*p*p*p*p*p*p*p; A[1]=p*p*p*p*p*p*p*p*r; A[2]=p*p*p*p*p*p*p*r*r; A[3]=p*p*p*p*p*p*r*r*r; A[4]=p*p*p*p*p*r*r*r*r; A[5]=p*p*p*p*r*r*r*r*r; A[6]=p*p*p*r*r*r*r*r*r; A[7]=p*p*r*r*r*r*r*r*r; A[8]=p*r*r*r*r*r*r*r*r; A[9]=r*r*r*r*r*r*r*r*r; rep(i,0,n){ cout<