import java.io.BufferedReader;
import java.io.InputStreamReader;


public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

	while(true){
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	}
} catch (Exception e) {

	System.out.println("????????????");
	
}
		 }
    } import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

	while(true){
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	}
} catch (Exception e) {

	System.out.println("????????????");
	
}
		 }
    } Main public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

	while(true){
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	}
} catch (Exception e) {

	System.out.println("????????????");
	
}
		 } main {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

	while(true){
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	}
} catch (Exception e) {

	System.out.println("????????????");
	
}
		 } try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

	while(true){
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	}
} catch (Exception e) {

	System.out.println("????????????");
	
} catch (Exception e) {

	System.out.println("????????????");
	
} Exception e {

	System.out.println("????????????");
	
} System.out.println("????????????") System.out.println System.out System System.out "????????????" {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

	while(true){
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	}
} BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) while(true){
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	} true {
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	} String input = buf.readLine(); input buf.readLine() buf.readLine buf String[] strAry = input.split(" "); strAry input.split(" ") input.split input " " int a = Integer.parseInt(strAry[0]); a Integer.parseInt(strAry[0]) Integer.parseInt Integer strAry[0] strAry 0 String b = strAry[1]; b strAry[1] strAry 1 int c = Integer.parseInt(strAry[2]); c Integer.parseInt(strAry[2]) Integer.parseInt Integer strAry[2] strAry 2 int opt =0; opt 0 if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    } b.equals("?") b.equals b "?" {
    	break;
    } break; if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    } b.equals("+") b.equals b "+" {
    	opt =a + c;
    } opt =a + c opt a + c a c if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    } b.equals("-") b.equals b "-" {
    	opt = a - c;
    } opt = a - c opt a - c a c if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    } b.equals("*") b.equals b "*" {
    	opt = a * c;
    } opt = a * c opt a * c a c if(b.equals("/")){
    	opt = a / c;
    } b.equals("/") b.equals b "/" {
    	opt = a / c;
    } opt = a / c opt a / c a c System.out.println(opt) System.out.println System.out System System.out opt String[] args args public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

	while(true){
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	}
} catch (Exception e) {

	System.out.println("????????????");
	
}
		 }
    } public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

	while(true){
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	}
} catch (Exception e) {

	System.out.println("????????????");
	
}
		 }
    } Main
import java.io.BufferedReader;
import java.io.InputStreamReader;


public class Main {
	public static void main(String[] args) throws Exception {
try {
	BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));

	while(true){
	String input = buf.readLine();	
	String[] strAry = input.split(" ");
    int a = Integer.parseInt(strAry[0]);
    String b = strAry[1];
    int c = Integer.parseInt(strAry[2]);
	
    int opt =0;
    
    if(b.equals("?")){
    	break;
    }else if(b.equals("+")){
    	opt =a + c;
    }else if(b.equals("-")){
    	opt = a - c;
    }else if(b.equals("*")){
    	opt = a * c;
    }else if(b.equals("/")){
    	opt = a / c;
    }
    	
	System.out.println(opt);
    
	}
} catch (Exception e) {

	System.out.println("????????????");
	
}
		 }
    }