import java.util.Arrays;
class Main
{
{
String str
= "423545(50),7568787(50),53654656,2021947(50),"; String[] list
= str.
split("(\\(\\d+\\))?,"); }
}
aW1wb3J0IGphdmEudXRpbC5BcnJheXM7CmNsYXNzIE1haW4KewogIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluIChTdHJpbmdbXSBhcmdzKSB0aHJvd3MgamF2YS5sYW5nLkV4Y2VwdGlvbgogIHsKICAgICBTdHJpbmcgc3RyID0gIjQyMzU0NSg1MCksNzU2ODc4Nyg1MCksNTM2NTQ2NTYsMjAyMTk0Nyg1MCksIjsKICAgICBTdHJpbmdbXSBsaXN0ID0gc3RyLnNwbGl0KCIoXFwoXFxkK1xcKSk/LCIpOwogICAgIFN5c3RlbS5vdXQucHJpbnRsbihBcnJheXMudG9TdHJpbmcobGlzdCkpOwogIH0KfQ==