import java.util.*; import java.util.regex.*; public class Main { public static void main(String[] args) throws Exception { Scanner koko = new Scanner(System.in); String s = koko.next(); int n=0; String pn = "['*''+']+"; Pattern pnum = Pattern.compile(pn); String[] num = pnum.split(s); int[] number = new int[num.length]; String[] siki = new String[num.length-1]; Matcher m = pnum.matcher(s); int si = 0; while(m.find()){ siki[si++]=m.group(0); } for(int i=0; i