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 tmp[], op;
		long a, b;
		while (true) {
			tmp = br.readLine().split(" ");
			a = Long.parseLong(tmp[0]);
			b = Long.parseLong(tmp[2]);
			op = tmp[1];
			tmp = null;
			
			if(op.equals("?"))break;
			else if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b);
		}
	}

} 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 tmp[], op;
		long a, b;
		while (true) {
			tmp = br.readLine().split(" ");
			a = Long.parseLong(tmp[0]);
			b = Long.parseLong(tmp[2]);
			op = tmp[1];
			tmp = null;
			
			if(op.equals("?"))break;
			else if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b);
		}
	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String tmp[], op;
		long a, b;
		while (true) {
			tmp = br.readLine().split(" ");
			a = Long.parseLong(tmp[0]);
			b = Long.parseLong(tmp[2]);
			op = tmp[1];
			tmp = null;
			
			if(op.equals("?"))break;
			else if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b);
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String tmp[], op;
		long a, b;
		while (true) {
			tmp = br.readLine().split(" ");
			a = Long.parseLong(tmp[0]);
			b = Long.parseLong(tmp[2]);
			op = tmp[1];
			tmp = null;
			
			if(op.equals("?"))break;
			else if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b);
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String tmp[] tmp op; op long a a b; b while (true) {
			tmp = br.readLine().split(" ");
			a = Long.parseLong(tmp[0]);
			b = Long.parseLong(tmp[2]);
			op = tmp[1];
			tmp = null;
			
			if(op.equals("?"))break;
			else if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b);
		} true {
			tmp = br.readLine().split(" ");
			a = Long.parseLong(tmp[0]);
			b = Long.parseLong(tmp[2]);
			op = tmp[1];
			tmp = null;
			
			if(op.equals("?"))break;
			else if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b);
		} tmp = br.readLine().split(" ") tmp br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a = Long.parseLong(tmp[0]) a Long.parseLong(tmp[0]) Long.parseLong Long tmp[0] tmp 0 b = Long.parseLong(tmp[2]) b Long.parseLong(tmp[2]) Long.parseLong Long tmp[2] tmp 2 op = tmp[1] op tmp[1] tmp 1 tmp = null tmp null if(op.equals("?"))break;
			else if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b); op.equals("?") op.equals op "?" break; if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b); op.equals("+") op.equals op "+" System.out.println(a + b) System.out.println System.out System System.out a + b a b if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b); op.equals("-") op.equals op "-" System.out.println(a - b) System.out.println System.out System System.out a - b a b if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b); op.equals("*") op.equals op "*" System.out.println(a * b) System.out.println System.out System System.out a * b a b if(op.equals("/"))
				System.out.println(a / b); op.equals("/") op.equals op "/" System.out.println(a / b) System.out.println System.out System System.out a / b a b String[] args args public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String tmp[], op;
		long a, b;
		while (true) {
			tmp = br.readLine().split(" ");
			a = Long.parseLong(tmp[0]);
			b = Long.parseLong(tmp[2]);
			op = tmp[1];
			tmp = null;
			
			if(op.equals("?"))break;
			else if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b);
		}
	}

} public class Main {

	public static void main(String[] args) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String tmp[], op;
		long a, b;
		while (true) {
			tmp = br.readLine().split(" ");
			a = Long.parseLong(tmp[0]);
			b = Long.parseLong(tmp[2]);
			op = tmp[1];
			tmp = null;
			
			if(op.equals("?"))break;
			else if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b);
		}
	}

} 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 tmp[], op;
		long a, b;
		while (true) {
			tmp = br.readLine().split(" ");
			a = Long.parseLong(tmp[0]);
			b = Long.parseLong(tmp[2]);
			op = tmp[1];
			tmp = null;
			
			if(op.equals("?"))break;
			else if(op.equals("+"))
				System.out.println(a + b);
			else if(op.equals("-"))
				System.out.println(a - b);
			else if(op.equals("*"))
				System.out.println(a * b);
			else if(op.equals("/"))
				System.out.println(a / b);
		}
	}

}