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

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

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