import java.io.*;
  
class Main{
	public static void main(String[] args) throws IOException{

		int x,y;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		while(true){

			String str[] = br.readLine().split(" ");
			x = Integer.parseInt(str[0]);
			y = Integer.parseInt(str[2]);
			
			if(str[1].equals("+")){
			 	System.out.println(x + y);
			}else if(str[1].equals("-")){
				System.out.println(x - y);
			}else if(str[1].equals("*")){
			 	System.out.println(x * y);
			}else if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			}
		}
  	}
} import java.io.*; io.* java class Main{
	public static void main(String[] args) throws IOException{

		int x,y;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		while(true){

			String str[] = br.readLine().split(" ");
			x = Integer.parseInt(str[0]);
			y = Integer.parseInt(str[2]);
			
			if(str[1].equals("+")){
			 	System.out.println(x + y);
			}else if(str[1].equals("-")){
				System.out.println(x - y);
			}else if(str[1].equals("*")){
			 	System.out.println(x * y);
			}else if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			}
		}
  	}
} Main public static void main(String[] args) throws IOException{

		int x,y;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		while(true){

			String str[] = br.readLine().split(" ");
			x = Integer.parseInt(str[0]);
			y = Integer.parseInt(str[2]);
			
			if(str[1].equals("+")){
			 	System.out.println(x + y);
			}else if(str[1].equals("-")){
				System.out.println(x - y);
			}else if(str[1].equals("*")){
			 	System.out.println(x * y);
			}else if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			}
		}
  	} main {

		int x,y;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		while(true){

			String str[] = br.readLine().split(" ");
			x = Integer.parseInt(str[0]);
			y = Integer.parseInt(str[2]);
			
			if(str[1].equals("+")){
			 	System.out.println(x + y);
			}else if(str[1].equals("-")){
				System.out.println(x - y);
			}else if(str[1].equals("*")){
			 	System.out.println(x * y);
			}else if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			}
		}
  	} int x x y; y BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while(true){

			String str[] = br.readLine().split(" ");
			x = Integer.parseInt(str[0]);
			y = Integer.parseInt(str[2]);
			
			if(str[1].equals("+")){
			 	System.out.println(x + y);
			}else if(str[1].equals("-")){
				System.out.println(x - y);
			}else if(str[1].equals("*")){
			 	System.out.println(x * y);
			}else if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			}
		} true {

			String str[] = br.readLine().split(" ");
			x = Integer.parseInt(str[0]);
			y = Integer.parseInt(str[2]);
			
			if(str[1].equals("+")){
			 	System.out.println(x + y);
			}else if(str[1].equals("-")){
				System.out.println(x - y);
			}else if(str[1].equals("*")){
			 	System.out.println(x * y);
			}else if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			}
		} String str[] = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " x = Integer.parseInt(str[0]) x Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 y = Integer.parseInt(str[2]) y Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 if(str[1].equals("+")){
			 	System.out.println(x + y);
			}else if(str[1].equals("-")){
				System.out.println(x - y);
			}else if(str[1].equals("*")){
			 	System.out.println(x * y);
			}else if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			} str[1].equals("+") str[1].equals str[1] str 1 "+" {
			 	System.out.println(x + y);
			} System.out.println(x + y) System.out.println System.out System System.out x + y x y if(str[1].equals("-")){
				System.out.println(x - y);
			}else if(str[1].equals("*")){
			 	System.out.println(x * y);
			}else if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			} str[1].equals("-") str[1].equals str[1] str 1 "-" {
				System.out.println(x - y);
			} System.out.println(x - y) System.out.println System.out System System.out x - y x y if(str[1].equals("*")){
			 	System.out.println(x * y);
			}else if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			} str[1].equals("*") str[1].equals str[1] str 1 "*" {
			 	System.out.println(x * y);
			} System.out.println(x * y) System.out.println System.out System System.out x * y x y if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			} str[1].equals("/") str[1].equals str[1] str 1 "/" {
				System.out.println(x / y);
			} System.out.println(x / y) System.out.println System.out System System.out x / y x y if(str[1].equals("?")){
				 break;
			} str[1].equals("?") str[1].equals str[1] str 1 "?" {
				 break;
			} break; String[] args args
import java.io.*;
  
class Main{
	public static void main(String[] args) throws IOException{

		int x,y;
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		while(true){

			String str[] = br.readLine().split(" ");
			x = Integer.parseInt(str[0]);
			y = Integer.parseInt(str[2]);
			
			if(str[1].equals("+")){
			 	System.out.println(x + y);
			}else if(str[1].equals("-")){
				System.out.println(x - y);
			}else if(str[1].equals("*")){
			 	System.out.println(x * y);
			}else if(str[1].equals("/")){
				System.out.println(x / y);
			}else if(str[1].equals("?")){
				 break;
			}
		}
  	}
}