import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
	public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	ArrayList<Integer> list = new ArrayList<Integer>();
		while(scan.hasNextLine()){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			//int a = Integer.parseInt(aa);
			//int b = Integer.parseInt(bb);
			int cal =0;
			
			if(op.charAt(0) == '?'){
				break;
			}
			else{
				if(op.charAt(0) == '+'){
					cal = a + b;
				}
				if(op.charAt(0) == '-'){
					cal = a - b;
				}
				if(op.charAt(0) == '*'){
					cal = a * b;
				}
				if(op.charAt(0) == '/'){
					cal = a / b;
				}
				list.add(cal);			
			}
		}
		for(int i=0;i<list.size();i++){
			System.out.println(list.get(i));
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.*; util.* java class Main{
	public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	ArrayList<Integer> list = new ArrayList<Integer>();
		while(scan.hasNextLine()){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			//int a = Integer.parseInt(aa);
			//int b = Integer.parseInt(bb);
			int cal =0;
			
			if(op.charAt(0) == '?'){
				break;
			}
			else{
				if(op.charAt(0) == '+'){
					cal = a + b;
				}
				if(op.charAt(0) == '-'){
					cal = a - b;
				}
				if(op.charAt(0) == '*'){
					cal = a * b;
				}
				if(op.charAt(0) == '/'){
					cal = a / b;
				}
				list.add(cal);			
			}
		}
		for(int i=0;i<list.size();i++){
			System.out.println(list.get(i));
		}
	}
} Main public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	ArrayList<Integer> list = new ArrayList<Integer>();
		while(scan.hasNextLine()){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			//int a = Integer.parseInt(aa);
			//int b = Integer.parseInt(bb);
			int cal =0;
			
			if(op.charAt(0) == '?'){
				break;
			}
			else{
				if(op.charAt(0) == '+'){
					cal = a + b;
				}
				if(op.charAt(0) == '-'){
					cal = a - b;
				}
				if(op.charAt(0) == '*'){
					cal = a * b;
				}
				if(op.charAt(0) == '/'){
					cal = a / b;
				}
				list.add(cal);			
			}
		}
		for(int i=0;i<list.size();i++){
			System.out.println(list.get(i));
		}
	} main {
	Scanner scan = new Scanner(System.in);
	ArrayList<Integer> list = new ArrayList<Integer>();
		while(scan.hasNextLine()){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			//int a = Integer.parseInt(aa);
			//int b = Integer.parseInt(bb);
			int cal =0;
			
			if(op.charAt(0) == '?'){
				break;
			}
			else{
				if(op.charAt(0) == '+'){
					cal = a + b;
				}
				if(op.charAt(0) == '-'){
					cal = a - b;
				}
				if(op.charAt(0) == '*'){
					cal = a * b;
				}
				if(op.charAt(0) == '/'){
					cal = a / b;
				}
				list.add(cal);			
			}
		}
		for(int i=0;i<list.size();i++){
			System.out.println(list.get(i));
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) ArrayList<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() while(scan.hasNextLine()){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			//int a = Integer.parseInt(aa);
			//int b = Integer.parseInt(bb);
			int cal =0;
			
			if(op.charAt(0) == '?'){
				break;
			}
			else{
				if(op.charAt(0) == '+'){
					cal = a + b;
				}
				if(op.charAt(0) == '-'){
					cal = a - b;
				}
				if(op.charAt(0) == '*'){
					cal = a * b;
				}
				if(op.charAt(0) == '/'){
					cal = a / b;
				}
				list.add(cal);			
			}
		} scan.hasNextLine() scan.hasNextLine scan {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			//int a = Integer.parseInt(aa);
			//int b = Integer.parseInt(bb);
			int cal =0;
			
			if(op.charAt(0) == '?'){
				break;
			}
			else{
				if(op.charAt(0) == '+'){
					cal = a + b;
				}
				if(op.charAt(0) == '-'){
					cal = a - b;
				}
				if(op.charAt(0) == '*'){
					cal = a * b;
				}
				if(op.charAt(0) == '/'){
					cal = a / b;
				}
				list.add(cal);			
			}
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String op = scan.next(); op scan.next() scan.next scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan int cal =0; cal 0 if(op.charAt(0) == '?'){
				break;
			}
			else{
				if(op.charAt(0) == '+'){
					cal = a + b;
				}
				if(op.charAt(0) == '-'){
					cal = a - b;
				}
				if(op.charAt(0) == '*'){
					cal = a * b;
				}
				if(op.charAt(0) == '/'){
					cal = a / b;
				}
				list.add(cal);			
			} op.charAt(0) == '?' op.charAt(0) op.charAt op 0 '?' {
				break;
			} break; {
				if(op.charAt(0) == '+'){
					cal = a + b;
				}
				if(op.charAt(0) == '-'){
					cal = a - b;
				}
				if(op.charAt(0) == '*'){
					cal = a * b;
				}
				if(op.charAt(0) == '/'){
					cal = a / b;
				}
				list.add(cal);			
			} if(op.charAt(0) == '+'){
					cal = a + b;
				} op.charAt(0) == '+' op.charAt(0) op.charAt op 0 '+' {
					cal = a + b;
				} cal = a + b cal a + b a b if(op.charAt(0) == '-'){
					cal = a - b;
				} op.charAt(0) == '-' op.charAt(0) op.charAt op 0 '-' {
					cal = a - b;
				} cal = a - b cal a - b a b if(op.charAt(0) == '*'){
					cal = a * b;
				} op.charAt(0) == '*' op.charAt(0) op.charAt op 0 '*' {
					cal = a * b;
				} cal = a * b cal a * b a b if(op.charAt(0) == '/'){
					cal = a / b;
				} op.charAt(0) == '/' op.charAt(0) op.charAt op 0 '/' {
					cal = a / b;
				} cal = a / b cal a / b a b list.add(cal) list.add list cal for(int i=0;i<list.size();i++){
			System.out.println(list.get(i));
		} int i=0; int i=0; i 0 i<list.size() i list.size() list.size list i++ i++ i {
			System.out.println(list.get(i));
		} {
			System.out.println(list.get(i));
		} System.out.println(list.get(i)) System.out.println System.out System System.out list.get(i) list.get list i String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
	public static void main(String[] args){
	Scanner scan = new Scanner(System.in);
	ArrayList<Integer> list = new ArrayList<Integer>();
		while(scan.hasNextLine()){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			//int a = Integer.parseInt(aa);
			//int b = Integer.parseInt(bb);
			int cal =0;
			
			if(op.charAt(0) == '?'){
				break;
			}
			else{
				if(op.charAt(0) == '+'){
					cal = a + b;
				}
				if(op.charAt(0) == '-'){
					cal = a - b;
				}
				if(op.charAt(0) == '*'){
					cal = a * b;
				}
				if(op.charAt(0) == '/'){
					cal = a / b;
				}
				list.add(cal);			
			}
		}
		for(int i=0;i<list.size();i++){
			System.out.println(list.get(i));
		}
	}
}