import java.io.IOException; import java.util.Scanner; public class Main49 { public static void main(String[] args) { Main49 p = new Main49(); } public Main49() { Scanner sc = new Scanner(System.in); String s = sc.next(); solve(s); } public void solve(String s){ int val = 0; char next = 0; int cur = 0; char lastop = '*'; for(int i=0;i