#include <bits/stdc++.h> using namespace std; int main() { int n = 0,t; string s[1000], k; while(cin>>k) { s[n]=k; n++; } if(n/12>=1) { t=0; int count=0; string b[13]; for(int i=0;i<n;i++) { count++; if(count<=12) { b[t]=s[i]; t++; // cout<<t<<endl; } if(count==12 || i==n-1) { for(int j=0;j<t;j++) { if(j!=t-1) cout<<b[j]<<","; else cout<<b[j]<<endl; } cout<<endl; t=0; count=0; if(i==n-1) break; } } } else { //string b[10]; for(int j=0;j<n;j++) { if(j!=n-1) cout<<s[j]<<","; else cout<<s[j]<<endl; } } cout<<"hello"<<endl; return 0; }
50154222 50033554 50045452 50027710 50025286 50019101 50022964 50030764 50018933 50145331 50144772 50306300 50129462 50254390 50175432 50421885 50357736 50971615 50195331 50174492 50070505 50376104 50144973 50746435 50218126 50254124 50482484 50127884 50336932 50296682 50175362 50162448 50951070 50208661 50481054 50395036 50083275 50340860 50066137 50160591 50232545 50255078 50094783 50186278 50262170 50204152 50394126 50388032 50279337
50154222,50033554,50045452,50027710,50025286,50019101,50022964,50030764,50018933,50145331,50144772,50306300 50129462,50254390,50175432,50421885,50357736,50971615,50195331,50174492,50070505,50376104,50144973,50746435 50218126,50254124,50482484,50127884,50336932,50296682,50175362,50162448,50951070,50208661,50481054,50395036 50083275,50340860,50066137,50160591,50232545,50255078,50094783,50186278,50262170,50204152,50394126,50388032 50279337 hello