import java.util.Scanner; public class Main { @SuppressWarnings("resource") public static void main(String args[]) { Scanner scanner = new Scanner(System.in); String s=scanner.next(); String x[]=s.split("[\\+\\*]"); int tmp=Integer.parseInt(x[0]); int j=1; for(int i=0;i