#include <iostream>
using namespace std;
void explode(int number)
{
int ctrack = 0;
if (number <= 0) return;
int digit = number % 10;
explode(number/10);
if(number >= 10)
{
cout << ",";
}
cout << digit;
}
int main()
{
explode(12345678);
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKdm9pZCBleHBsb2RlKGludCBudW1iZXIpCnsKICAgIGludCBjdHJhY2sgPSAwOwogICAgaWYgKG51bWJlciA8PSAwKSByZXR1cm47CiAgICBpbnQgZGlnaXQgPSBudW1iZXIgJSAxMDsKICAgIGV4cGxvZGUobnVtYmVyLzEwKTsKICAgIGlmKG51bWJlciA+PSAxMCkKICAgIHsKICAgIAljb3V0IDw8ICIsIjsKICAgIH0KICAgIGNvdXQgPDwgZGlnaXQ7Cn0KCmludCBtYWluKCkKewoJZXhwbG9kZSgxMjM0NTY3OCk7Cn0K