#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; }
50109334 50087079 50090743 50131369 50145236 50437189 50006007 50103642 50502699 50299601 50303216 50394528 51472372 50853332 51257103 51426711 51037369
50109334,50087079,50090743,50131369,50145236,50437189,50006007,50103642,50502699,50299601,50303216,50394528 51472372,50853332,51257103,51426711,51037369 hello