import java.io.*;


class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		while(true){

			String str = br.readLine();
			String p;
			String strArr[] = str.split(" ");
			double a = Double.parseDouble(strArr[0]);
			double b = Double.parseDouble(strArr[2]);
			

			p = strArr[1];
			int i=0;
			double ans;
			
			if("?".equals(p)){
				break;
			}
			else if("+".equals(p)){
				ans = a+b;
				System.out.println((int)ans);
			}
			else if("-".equals(p)){
				ans = a-b;
				System.out.println((int)ans);
			}
			else if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			}
			
			/*switch(p){
				case "+":
					ans = a+b;
					System.out.println((int)ans);
					break;
				case "-":
					ans = a-b;
					System.out.println((int)ans);
					break;
				case "*":
					ans = a*b;
					System.out.println((int)ans);
					break;
				case "/":
					ans = a/b;
					System.out.println((int)ans);
					break;
				case "?":
					i=4;
					break;
				default:
					break;
			}
			if(i==4)
				break;
				*/

			}



		}
	} import java.io.*; io.* java class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		while(true){

			String str = br.readLine();
			String p;
			String strArr[] = str.split(" ");
			double a = Double.parseDouble(strArr[0]);
			double b = Double.parseDouble(strArr[2]);
			

			p = strArr[1];
			int i=0;
			double ans;
			
			if("?".equals(p)){
				break;
			}
			else if("+".equals(p)){
				ans = a+b;
				System.out.println((int)ans);
			}
			else if("-".equals(p)){
				ans = a-b;
				System.out.println((int)ans);
			}
			else if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			}
			
			/*switch(p){
				case "+":
					ans = a+b;
					System.out.println((int)ans);
					break;
				case "-":
					ans = a-b;
					System.out.println((int)ans);
					break;
				case "*":
					ans = a*b;
					System.out.println((int)ans);
					break;
				case "/":
					ans = a/b;
					System.out.println((int)ans);
					break;
				case "?":
					i=4;
					break;
				default:
					break;
			}
			if(i==4)
				break;
				*/

			}



		}
	} Main public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		while(true){

			String str = br.readLine();
			String p;
			String strArr[] = str.split(" ");
			double a = Double.parseDouble(strArr[0]);
			double b = Double.parseDouble(strArr[2]);
			

			p = strArr[1];
			int i=0;
			double ans;
			
			if("?".equals(p)){
				break;
			}
			else if("+".equals(p)){
				ans = a+b;
				System.out.println((int)ans);
			}
			else if("-".equals(p)){
				ans = a-b;
				System.out.println((int)ans);
			}
			else if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			}
			
			/*switch(p){
				case "+":
					ans = a+b;
					System.out.println((int)ans);
					break;
				case "-":
					ans = a-b;
					System.out.println((int)ans);
					break;
				case "*":
					ans = a*b;
					System.out.println((int)ans);
					break;
				case "/":
					ans = a/b;
					System.out.println((int)ans);
					break;
				case "?":
					i=4;
					break;
				default:
					break;
			}
			if(i==4)
				break;
				*/

			}



		} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		while(true){

			String str = br.readLine();
			String p;
			String strArr[] = str.split(" ");
			double a = Double.parseDouble(strArr[0]);
			double b = Double.parseDouble(strArr[2]);
			

			p = strArr[1];
			int i=0;
			double ans;
			
			if("?".equals(p)){
				break;
			}
			else if("+".equals(p)){
				ans = a+b;
				System.out.println((int)ans);
			}
			else if("-".equals(p)){
				ans = a-b;
				System.out.println((int)ans);
			}
			else if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			}
			
			/*switch(p){
				case "+":
					ans = a+b;
					System.out.println((int)ans);
					break;
				case "-":
					ans = a-b;
					System.out.println((int)ans);
					break;
				case "*":
					ans = a*b;
					System.out.println((int)ans);
					break;
				case "/":
					ans = a/b;
					System.out.println((int)ans);
					break;
				case "?":
					i=4;
					break;
				default:
					break;
			}
			if(i==4)
				break;
				*/

			}



		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while(true){

			String str = br.readLine();
			String p;
			String strArr[] = str.split(" ");
			double a = Double.parseDouble(strArr[0]);
			double b = Double.parseDouble(strArr[2]);
			

			p = strArr[1];
			int i=0;
			double ans;
			
			if("?".equals(p)){
				break;
			}
			else if("+".equals(p)){
				ans = a+b;
				System.out.println((int)ans);
			}
			else if("-".equals(p)){
				ans = a-b;
				System.out.println((int)ans);
			}
			else if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			}
			
			/*switch(p){
				case "+":
					ans = a+b;
					System.out.println((int)ans);
					break;
				case "-":
					ans = a-b;
					System.out.println((int)ans);
					break;
				case "*":
					ans = a*b;
					System.out.println((int)ans);
					break;
				case "/":
					ans = a/b;
					System.out.println((int)ans);
					break;
				case "?":
					i=4;
					break;
				default:
					break;
			}
			if(i==4)
				break;
				*/

			} true {

			String str = br.readLine();
			String p;
			String strArr[] = str.split(" ");
			double a = Double.parseDouble(strArr[0]);
			double b = Double.parseDouble(strArr[2]);
			

			p = strArr[1];
			int i=0;
			double ans;
			
			if("?".equals(p)){
				break;
			}
			else if("+".equals(p)){
				ans = a+b;
				System.out.println((int)ans);
			}
			else if("-".equals(p)){
				ans = a-b;
				System.out.println((int)ans);
			}
			else if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			}
			
			/*switch(p){
				case "+":
					ans = a+b;
					System.out.println((int)ans);
					break;
				case "-":
					ans = a-b;
					System.out.println((int)ans);
					break;
				case "*":
					ans = a*b;
					System.out.println((int)ans);
					break;
				case "/":
					ans = a/b;
					System.out.println((int)ans);
					break;
				case "?":
					i=4;
					break;
				default:
					break;
			}
			if(i==4)
				break;
				*/

			} String str = br.readLine(); str br.readLine() br.readLine br String p; p String strArr[] = str.split(" "); strArr str.split(" ") str.split str " " double a = Double.parseDouble(strArr[0]); a Double.parseDouble(strArr[0]) Double.parseDouble Double strArr[0] strArr 0 double b = Double.parseDouble(strArr[2]); b Double.parseDouble(strArr[2]) Double.parseDouble Double strArr[2] strArr 2 p = strArr[1] p strArr[1] strArr 1 int i=0; i 0 double ans; ans if("?".equals(p)){
				break;
			}
			else if("+".equals(p)){
				ans = a+b;
				System.out.println((int)ans);
			}
			else if("-".equals(p)){
				ans = a-b;
				System.out.println((int)ans);
			}
			else if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			} "?".equals(p) "?".equals "?" p {
				break;
			} break; if("+".equals(p)){
				ans = a+b;
				System.out.println((int)ans);
			}
			else if("-".equals(p)){
				ans = a-b;
				System.out.println((int)ans);
			}
			else if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			} "+".equals(p) "+".equals "+" p {
				ans = a+b;
				System.out.println((int)ans);
			} ans = a+b ans a+b a b System.out.println((int)ans) System.out.println System.out System System.out (int)ans if("-".equals(p)){
				ans = a-b;
				System.out.println((int)ans);
			}
			else if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			} "-".equals(p) "-".equals "-" p {
				ans = a-b;
				System.out.println((int)ans);
			} ans = a-b ans a-b a b System.out.println((int)ans) System.out.println System.out System System.out (int)ans if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			} "*".equals(p) "*".equals "*" p {
				ans = a*b;
				System.out.println((int)ans);
			} ans = a*b ans a*b a b System.out.println((int)ans) System.out.println System.out System System.out (int)ans if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			} "/".equals(p) "/".equals "/" p {
				ans = a/b;
				System.out.println((int)ans);
			} ans = a/b ans a/b a b System.out.println((int)ans) System.out.println System.out System System.out (int)ans String[] args args
import java.io.*;


class Main{
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
		while(true){

			String str = br.readLine();
			String p;
			String strArr[] = str.split(" ");
			double a = Double.parseDouble(strArr[0]);
			double b = Double.parseDouble(strArr[2]);
			

			p = strArr[1];
			int i=0;
			double ans;
			
			if("?".equals(p)){
				break;
			}
			else if("+".equals(p)){
				ans = a+b;
				System.out.println((int)ans);
			}
			else if("-".equals(p)){
				ans = a-b;
				System.out.println((int)ans);
			}
			else if("*".equals(p)){
				ans = a*b;
				System.out.println((int)ans);
			}
			else if("/".equals(p)){
				ans = a/b;
				System.out.println((int)ans);
			}
			
			/*switch(p){
				case "+":
					ans = a+b;
					System.out.println((int)ans);
					break;
				case "-":
					ans = a-b;
					System.out.println((int)ans);
					break;
				case "*":
					ans = a*b;
					System.out.println((int)ans);
					break;
				case "/":
					ans = a/b;
					System.out.println((int)ans);
					break;
				case "?":
					i=4;
					break;
				default:
					break;
			}
			if(i==4)
				break;
				*/

			}



		}
	}