#include using namespace std; #define int long long //#define uint __int128_t #define pb push_back #define fi first #define se second #define rep(i,s,n) for(int i = s;i=(s);i--) #define all(v) (v).begin(),(v).end() #define chmin(a,b) a=min((a),(b)) #define chmax(a,b) a=max((a),(b)) #define endl '\n' #define IOS() ios_base::sync_with_stdio(0);cin.tie(0) typedef long long ll; typedef pairpint; typedef vectorvint; typedef vector vvint; typedef vectorvpint; typedef pair P1; typedef pair P2; typedef pair PP; const ll MOD=1000000007,INF=1e18; int N; ll mod_pow(ll x, ll n) { ll res = 1; while (n > 0) { if (n & 1) res = res * x % MOD; x = x * x % MOD; n >>= 1; } return res; } int mod_inv(int x) { return mod_pow(x, MOD - 2); } signed main() { IOS(); //(1ll<>N; if(N<9){ cout<<'1'; rep(i,0,N){ cout<<'3'; } cout<