Bad Ugly Numbers

void solve(){
  ll N;
  cin>>N;
  if(N==1){
    p(-1); return;
  }

  cout << 2;
  rep(i,N-1){
    cout<<3;
  }
  cout << endl;
}

int main(){
    // input
    ll N; 
    cin>>N;
    
    while(N--)solve();
    
    return 0;
}