#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; }
50034947 50047576 50001630 50427975 50280111 50268849 50266050 50235111 50281206 50156287 50431250 50591669 50053691 50449791 50318867 50295282 50700966 50173254 50249504 51101025 51382353 50778119 51382951 51440821 50585364 50564449 50170003 51213695 51074305 50510816 50922614 50891775 50999456 50693802 51204220 50995484 51069387 50721863 51221445
50034947,50047576,50001630,50427975,50280111,50268849,50266050,50235111,50281206,50156287,50431250,50591669 50053691,50449791,50318867,50295282,50700966,50173254,50249504,51101025,51382353,50778119,51382951,51440821 50585364,50564449,50170003,51213695,51074305,50510816,50922614,50891775,50999456,50693802,51204220,50995484 51069387,50721863,51221445 hello