#include using namespace std; using ll=long long; #define rep(i,n) for(int i=0;i=0;i--) #define all(v) v.begin(),v.end() #define rall(v) v.rbegin(),v.rend() template bool chmax(T &a, T b){if (a < b){a = b;return true;} else return false;} template bool chmin(T &a, T b){if (a > b){a = b;return true;} else return false;} const int MOD=998244353; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); srand(time(NULL)); int N; cin>>N; vectorS(N); for(int i=0;i>S[i]; } sort(all(S)); setse; for(int i=0;iflag(N); string ans=""; for(int i=0;i1){ int m=(ok+ng)/2; if(S[m]+S[i]<=S[i]+S[m])ok=m; else ng=m; } if(okten(L); ten[0]=1; for(int i=1;i