import java.io.*;

class Main {
    public static void main(String[] args) {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
			int a = 0;
			String op = "";
			int b = 0;
			boolean end = false;
			
			while(end == false){
				String[] tmp = br.readLine().split(" ");
				a = Integer.parseInt(tmp[0]);
				op = tmp[1];
				b = Integer.parseInt(tmp[2]);
				
				if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){
					op = "?";
				}
				switch(op){
				case "+":
					System.out.println(a+b);
					break;
				case "-":
					System.out.println(a-b);
					break;
				case "*":
					System.out.println(a*b);
					break;
				case "/":
					System.out.println(a/b);
					break;
				case "?":
					end = true;
					break;
				default:
					
				}
			}
			
        } catch (Exception e) {
            System.out.println(e);
        }
    	
    }
} import java.io.*; io.* java class Main {
    public static void main(String[] args) {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
			int a = 0;
			String op = "";
			int b = 0;
			boolean end = false;
			
			while(end == false){
				String[] tmp = br.readLine().split(" ");
				a = Integer.parseInt(tmp[0]);
				op = tmp[1];
				b = Integer.parseInt(tmp[2]);
				
				if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){
					op = "?";
				}
				switch(op){
				case "+":
					System.out.println(a+b);
					break;
				case "-":
					System.out.println(a-b);
					break;
				case "*":
					System.out.println(a*b);
					break;
				case "/":
					System.out.println(a/b);
					break;
				case "?":
					end = true;
					break;
				default:
					
				}
			}
			
        } catch (Exception e) {
            System.out.println(e);
        }
    	
    }
} Main public static void main(String[] args) {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
			int a = 0;
			String op = "";
			int b = 0;
			boolean end = false;
			
			while(end == false){
				String[] tmp = br.readLine().split(" ");
				a = Integer.parseInt(tmp[0]);
				op = tmp[1];
				b = Integer.parseInt(tmp[2]);
				
				if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){
					op = "?";
				}
				switch(op){
				case "+":
					System.out.println(a+b);
					break;
				case "-":
					System.out.println(a-b);
					break;
				case "*":
					System.out.println(a*b);
					break;
				case "/":
					System.out.println(a/b);
					break;
				case "?":
					end = true;
					break;
				default:
					
				}
			}
			
        } catch (Exception e) {
            System.out.println(e);
        }
    	
    } main {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
			int a = 0;
			String op = "";
			int b = 0;
			boolean end = false;
			
			while(end == false){
				String[] tmp = br.readLine().split(" ");
				a = Integer.parseInt(tmp[0]);
				op = tmp[1];
				b = Integer.parseInt(tmp[2]);
				
				if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){
					op = "?";
				}
				switch(op){
				case "+":
					System.out.println(a+b);
					break;
				case "-":
					System.out.println(a-b);
					break;
				case "*":
					System.out.println(a*b);
					break;
				case "/":
					System.out.println(a/b);
					break;
				case "?":
					end = true;
					break;
				default:
					
				}
			}
			
        } catch (Exception e) {
            System.out.println(e);
        }
    	
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) try{
			int a = 0;
			String op = "";
			int b = 0;
			boolean end = false;
			
			while(end == false){
				String[] tmp = br.readLine().split(" ");
				a = Integer.parseInt(tmp[0]);
				op = tmp[1];
				b = Integer.parseInt(tmp[2]);
				
				if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){
					op = "?";
				}
				switch(op){
				case "+":
					System.out.println(a+b);
					break;
				case "-":
					System.out.println(a-b);
					break;
				case "*":
					System.out.println(a*b);
					break;
				case "/":
					System.out.println(a/b);
					break;
				case "?":
					end = true;
					break;
				default:
					
				}
			}
			
        } catch (Exception e) {
            System.out.println(e);
        } catch (Exception e) {
            System.out.println(e);
        } Exception e {
            System.out.println(e);
        } System.out.println(e) System.out.println System.out System System.out e {
			int a = 0;
			String op = "";
			int b = 0;
			boolean end = false;
			
			while(end == false){
				String[] tmp = br.readLine().split(" ");
				a = Integer.parseInt(tmp[0]);
				op = tmp[1];
				b = Integer.parseInt(tmp[2]);
				
				if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){
					op = "?";
				}
				switch(op){
				case "+":
					System.out.println(a+b);
					break;
				case "-":
					System.out.println(a-b);
					break;
				case "*":
					System.out.println(a*b);
					break;
				case "/":
					System.out.println(a/b);
					break;
				case "?":
					end = true;
					break;
				default:
					
				}
			}
			
        } int a = 0; a 0 String op = ""; op "" int b = 0; b 0 boolean end = false; end false while(end == false){
				String[] tmp = br.readLine().split(" ");
				a = Integer.parseInt(tmp[0]);
				op = tmp[1];
				b = Integer.parseInt(tmp[2]);
				
				if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){
					op = "?";
				}
				switch(op){
				case "+":
					System.out.println(a+b);
					break;
				case "-":
					System.out.println(a-b);
					break;
				case "*":
					System.out.println(a*b);
					break;
				case "/":
					System.out.println(a/b);
					break;
				case "?":
					end = true;
					break;
				default:
					
				}
			} end == false end false {
				String[] tmp = br.readLine().split(" ");
				a = Integer.parseInt(tmp[0]);
				op = tmp[1];
				b = Integer.parseInt(tmp[2]);
				
				if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){
					op = "?";
				}
				switch(op){
				case "+":
					System.out.println(a+b);
					break;
				case "-":
					System.out.println(a-b);
					break;
				case "*":
					System.out.println(a*b);
					break;
				case "/":
					System.out.println(a/b);
					break;
				case "?":
					end = true;
					break;
				default:
					
				}
			} String[] tmp = br.readLine().split(" "); tmp br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a = Integer.parseInt(tmp[0]) a Integer.parseInt(tmp[0]) Integer.parseInt Integer tmp[0] tmp 0 op = tmp[1] op tmp[1] tmp 1 b = Integer.parseInt(tmp[2]) b Integer.parseInt(tmp[2]) Integer.parseInt Integer tmp[2] tmp 2 if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){
					op = "?";
				} a < 0 && b > 20000 || (b == 0 && op.equals("/")) a < 0 && b > 20000 a < 0 a 0 b > 20000 b 20000 (b == 0 && op.equals("/")) b == 0 b 0 op.equals("/") op.equals op "/" {
					op = "?";
				} op = "?" op "?" switch(op){
				case "+":
					System.out.println(a+b);
					break;
				case "-":
					System.out.println(a-b);
					break;
				case "*":
					System.out.println(a*b);
					break;
				case "/":
					System.out.println(a/b);
					break;
				case "?":
					end = true;
					break;
				default:
					
				} op case "+": "+" case "+": System.out.println(a+b) System.out.println System.out System System.out a+b a b break; case "-": "-" case "-": System.out.println(a-b) System.out.println System.out System System.out a-b a b break; case "*": "*" case "*": System.out.println(a*b) System.out.println System.out System System.out a*b a b break; case "/": "/" case "/": System.out.println(a/b) System.out.println System.out System System.out a/b a b break; case "?": "?" case "?": end = true end true break; default: default: String[] args args
import java.io.*;

class Main {
    public static void main(String[] args) {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    	try{
			int a = 0;
			String op = "";
			int b = 0;
			boolean end = false;
			
			while(end == false){
				String[] tmp = br.readLine().split(" ");
				a = Integer.parseInt(tmp[0]);
				op = tmp[1];
				b = Integer.parseInt(tmp[2]);
				
				if(a < 0 && b > 20000 || (b == 0 && op.equals("/"))){
					op = "?";
				}
				switch(op){
				case "+":
					System.out.println(a+b);
					break;
				case "-":
					System.out.println(a-b);
					break;
				case "*":
					System.out.println(a*b);
					break;
				case "/":
					System.out.println(a/b);
					break;
				case "?":
					end = true;
					break;
				default:
					
				}
			}
			
        } catch (Exception e) {
            System.out.println(e);
        }
    	
    }
}