
import java.util.Scanner;

class Main {
	public static void main(String args[]){
		
		Scanner sc = new Scanner(System.in);
		
                //スキャナーでa(整数) op(文字) b(整数) の式を読み取る
		while(true){
		    String s1 = sc.next();
		    int a = Integer.parseInt(s1);
		    String sop = sc.next();
		    char op = sop.charAt(0);
		    String s2 = sc.next(); 
		    int b = Integer.parseInt(s2);
		    
                    //文字に？が入ったらプログラムが終了する
		    if(op == '?'){
		    	break;
		    }
		    if(0 <= a && a <= 20000){
		    	if(0 <= b && b <= 20000){
		    		
                                //文字により処理を変え、計算結果を表示する
		    		if(op == '+'){
		    			System.out.println(a + b);
		    		}
		    		else if(op == '-'){
		    			System.out.println(a - b);
		    		}
		    		else if(op == '*'){
		    			System.out.println(a * b);
		    		}
		    		else if(op == '/'){
		    			System.out.println(a / b);
		    		}
		    	}
		    }
		}
	}

}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz