#include using namespace std; using Int = long long; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a>n>>t; vector a(n); for(Int i=0;i>a[i]; reverse(a.begin(),a.end()); vector > dp(n); dp[0][t]=""; for(Int i=0;i+1=0){ Int nx=x-a[i]; string ns='+'+s; if(!dp[i+1].count(nx)) dp[i+1][nx]=ns; chmax(dp[i+1][nx],ns); } } } cout<