import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { //変数と配列を宣言 String s = sc.next(); List num = new ArrayList<>(); List operator = new ArrayList<>(); StringBuilder sb = new StringBuilder(); //数値と演算子をそれぞれのリストに格納 for (int i=0; i