#include using namespace std; #define int long long signed main(){ int N; cin>>N; string s = "A="; int count = 0; for(int i=0;i<(1< A(N); for(int j=0;j>A[j]; int x; cin>>x; if(!x) continue; count++; s += "("; for(int j=0;j