#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; }
50442142 50180028 50446804 50886998 50223096 50127771 50271282 50269856 50059500 50016214 50003714 50031324 50037052 50008812 50045777 50008681 50032000 50028772 50079683 50087751 50206980 50101871 50450675 50233814 50076243 50118093 50272290 50244849 50244413 50243714 50355095 50214897 50286409 50443870 50490797 50203320 50680151 50198900 50243129 50055277 50223446 50082464 50313848 50272347 50243603 50075519 50322499 50161817 50308048 50886994 50114955 50523497 50275766 50371640 50271487 50501395 50664677 50962345 50172190 50127835 50233199 50059062 50136004 50428993 50095767 50045974 51424872 50289356 50275895 50323693 50126335 50373707 50094519 50110900 50422597 50108032 50207706 50683155 50776113 51171284 51057139 50875612 51010116 50828509 51392616 51361203 51321615 51076046 50599683 50066293 50228843 50693522 50016403 51176113 51083422 51331335 51473832 50698506 51262260 50969769 50216023 51455172 50965568 50622362 51330542 51303255 50982764 51019184 51158835 51232066 51087297 50509463 51457343 51454798 51321720 51387357 51075396 50613211 51174095 51414478 50881536 51285003 50618042 51267575 51345858 51470863 50943926 51142303 51268769 50586087 51188245 51169018 51314871 50551321 50846987 51439245 51148147 51249852 50549465 50160745 50663644 51190259 51155259 50916263 50532073 51112415 50250117 50634923 50681313 50632242 50979975 50341373 51268839 51203590 51463751 50588858 51169496 50707054 50983150 51105478 50890606 50627205 50601291 50677051 50189405 51173351 51210736 51026754 51071556 50570370 50658873 51100551 51137711 50868349 51322450
50442142,50180028,50446804,50886998,50223096,50127771,50271282,50269856,50059500,50016214,50003714,50031324 50037052,50008812,50045777,50008681,50032000,50028772,50079683,50087751,50206980,50101871,50450675,50233814 50076243,50118093,50272290,50244849,50244413,50243714,50355095,50214897,50286409,50443870,50490797,50203320 50680151,50198900,50243129,50055277,50223446,50082464,50313848,50272347,50243603,50075519,50322499,50161817 50308048,50886994,50114955,50523497,50275766,50371640,50271487,50501395,50664677,50962345,50172190,50127835 50233199,50059062,50136004,50428993,50095767,50045974,51424872,50289356,50275895,50323693,50126335,50373707 50094519,50110900,50422597,50108032,50207706,50683155,50776113,51171284,51057139,50875612,51010116,50828509 51392616,51361203,51321615,51076046,50599683,50066293,50228843,50693522,50016403,51176113,51083422,51331335 51473832,50698506,51262260,50969769,50216023,51455172,50965568,50622362,51330542,51303255,50982764,51019184 51158835,51232066,51087297,50509463,51457343,51454798,51321720,51387357,51075396,50613211,51174095,51414478 50881536,51285003,50618042,51267575,51345858,51470863,50943926,51142303,51268769,50586087,51188245,51169018 51314871,50551321,50846987,51439245,51148147,51249852,50549465,50160745,50663644,51190259,51155259,50916263 50532073,51112415,50250117,50634923,50681313,50632242,50979975,50341373,51268839,51203590,51463751,50588858 51169496,50707054,50983150,51105478,50890606,50627205,50601291,50677051,50189405,51173351,51210736,51026754 51071556,50570370,50658873,51100551,51137711,50868349,51322450 hello