#include #include #include using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 4000000000000000001 vector> s(6); int main(){ s[0] = {}; int n; cin>>n; if(n>=4){ cout<<"YES"<>k)&1){ cur += s[i-1][k]; cur += ','; } } if(cur.size()!=1)cur.pop_back(); cur += '}'; s[i].push_back(cur); } sort(s[i].begin(),s[i].end()); } cout<