import java.util.*;
import java.lang.*;
import java.io.*;
import java.util.regex.*;
class Ideone
{
{
// Adapted from Phsemo
// http://stackoverflow.com/q/17892284/
String subject
= "0,123,45,6789,4,5,3,4,6000"; String[] thesplits
= subject.
split("(?<=\\G\\d+,\\d+,\\d+),");
} // End main
} // End Ideone
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CmltcG9ydCBqYXZhLnV0aWwucmVnZXguKjsKCmNsYXNzIElkZW9uZQp7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb24KCXsKLy8gQWRhcHRlZCBmcm9tIFBoc2VtbwovLyBodHRwOi8vc3RhY2tvdmVyZmxvdy5jb20vcS8xNzg5MjI4NC8KU3RyaW5nIHN1YmplY3QgPSAiMCwxMjMsNDUsNjc4OSw0LDUsMyw0LDYwMDAiOwpTdHJpbmdbXSB0aGVzcGxpdHMgPSBzdWJqZWN0LnNwbGl0KCIoPzw9XFxHXFxkKyxcXGQrLFxcZCspLCIpOyAgCmZvcihTdHJpbmcgdG9rZW4gOiB0aGVzcGxpdHMpIFN5c3RlbS5vdXQucHJpbnRsbih0b2tlbik7IAkKCn0gLy8gRW5kIG1haW4KfSAvLyBFbmQgSWRlb25l