#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; }
50123426 50047076 50363666 50499236 50221662 50237942 50265014 50306147 50529043 50504426 50698469 50013113 50190193 50217286 50066093 50054758 50419582 50424101 50641181 50235197 50034495 50254668 50192477 50356255 50216539 50498871 50296773 50229991 50191851 50139220 50223980 50066779 50234282
50123426,50047076,50363666,50499236,50221662,50237942,50265014,50306147,50529043,50504426,50698469,50013113 50190193,50217286,50066093,50054758,50419582,50424101,50641181,50235197,50034495,50254668,50192477,50356255 50216539,50498871,50296773,50229991,50191851,50139220,50223980,50066779,50234282 hello