import java.util.*;
import java.io.*;
class Main{
    public static void main(String[] args)throws IOException{
	final BufferedReader br=new BufferedReader(new InputStreamReader(System.in));	
	while(true){
	    String[] str=br.readLine().split(" ");
	    int a = Integer.parseInt(str[0]);
	    String op=str[1];
	    int b=Integer.parseInt(str[2]);
	    if(op.equals("?")) break;
	    if(op.equals("+")) System.out.println((a+b));
	    else if(op.equals("-")) System.out.println((a-b));
	    else if(op.equals("*")) System.out.println((a*b));
	    else if(op.equals("/")) System.out.println((a/b));    
	}
    }
} import java.util.*; util.* java import java.io.*; io.* java class Main{
    public static void main(String[] args)throws IOException{
	final BufferedReader br=new BufferedReader(new InputStreamReader(System.in));	
	while(true){
	    String[] str=br.readLine().split(" ");
	    int a = Integer.parseInt(str[0]);
	    String op=str[1];
	    int b=Integer.parseInt(str[2]);
	    if(op.equals("?")) break;
	    if(op.equals("+")) System.out.println((a+b));
	    else if(op.equals("-")) System.out.println((a-b));
	    else if(op.equals("*")) System.out.println((a*b));
	    else if(op.equals("/")) System.out.println((a/b));    
	}
    }
} Main public static void main(String[] args)throws IOException{
	final BufferedReader br=new BufferedReader(new InputStreamReader(System.in));	
	while(true){
	    String[] str=br.readLine().split(" ");
	    int a = Integer.parseInt(str[0]);
	    String op=str[1];
	    int b=Integer.parseInt(str[2]);
	    if(op.equals("?")) break;
	    if(op.equals("+")) System.out.println((a+b));
	    else if(op.equals("-")) System.out.println((a-b));
	    else if(op.equals("*")) System.out.println((a*b));
	    else if(op.equals("/")) System.out.println((a/b));    
	}
    } main {
	final BufferedReader br=new BufferedReader(new InputStreamReader(System.in));	
	while(true){
	    String[] str=br.readLine().split(" ");
	    int a = Integer.parseInt(str[0]);
	    String op=str[1];
	    int b=Integer.parseInt(str[2]);
	    if(op.equals("?")) break;
	    if(op.equals("+")) System.out.println((a+b));
	    else if(op.equals("-")) System.out.println((a-b));
	    else if(op.equals("*")) System.out.println((a*b));
	    else if(op.equals("/")) System.out.println((a/b));    
	}
    } final BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while(true){
	    String[] str=br.readLine().split(" ");
	    int a = Integer.parseInt(str[0]);
	    String op=str[1];
	    int b=Integer.parseInt(str[2]);
	    if(op.equals("?")) break;
	    if(op.equals("+")) System.out.println((a+b));
	    else if(op.equals("-")) System.out.println((a-b));
	    else if(op.equals("*")) System.out.println((a*b));
	    else if(op.equals("/")) System.out.println((a/b));    
	} true {
	    String[] str=br.readLine().split(" ");
	    int a = Integer.parseInt(str[0]);
	    String op=str[1];
	    int b=Integer.parseInt(str[2]);
	    if(op.equals("?")) break;
	    if(op.equals("+")) System.out.println((a+b));
	    else if(op.equals("-")) System.out.println((a-b));
	    else if(op.equals("*")) System.out.println((a*b));
	    else if(op.equals("/")) System.out.println((a/b));    
	} String[] str=br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 String op=str[1]; op str[1] str 1 int b=Integer.parseInt(str[2]); b Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 if(op.equals("?")) break; op.equals("?") op.equals op "?" break; if(op.equals("+")) System.out.println((a+b));
	    else if(op.equals("-")) System.out.println((a-b));
	    else if(op.equals("*")) System.out.println((a*b));
	    else if(op.equals("/")) System.out.println((a/b)); op.equals("+") op.equals op "+" System.out.println((a+b)) System.out.println System.out System System.out (a+b) a b if(op.equals("-")) System.out.println((a-b));
	    else if(op.equals("*")) System.out.println((a*b));
	    else if(op.equals("/")) System.out.println((a/b)); op.equals("-") op.equals op "-" System.out.println((a-b)) System.out.println System.out System System.out (a-b) a b if(op.equals("*")) System.out.println((a*b));
	    else if(op.equals("/")) System.out.println((a/b)); op.equals("*") op.equals op "*" System.out.println((a*b)) System.out.println System.out System System.out (a*b) a b if(op.equals("/")) System.out.println((a/b)); op.equals("/") op.equals op "/" System.out.println((a/b)) System.out.println System.out System System.out (a/b) a b String[] args args
import java.util.*;
import java.io.*;
class Main{
    public static void main(String[] args)throws IOException{
	final BufferedReader br=new BufferedReader(new InputStreamReader(System.in));	
	while(true){
	    String[] str=br.readLine().split(" ");
	    int a = Integer.parseInt(str[0]);
	    String op=str[1];
	    int b=Integer.parseInt(str[2]);
	    if(op.equals("?")) break;
	    if(op.equals("+")) System.out.println((a+b));
	    else if(op.equals("-")) System.out.println((a-b));
	    else if(op.equals("*")) System.out.println((a*b));
	    else if(op.equals("/")) System.out.println((a/b));    
	}
    }
}