import java.text.*;
import java.math.*;
import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 3;
		String[] num= new String[kaisu];
		while(true) {

			for(int i = 0; i < kaisu; i++) {
				num[i] = scan.next();
			}

			int a = Integer.parseInt(num[0]);
			String op = num[1];
			int b = Integer.parseInt(num[2]);

			if(op.equals("?")) {
				break;
			}
			if(op.equals("/")) {
				int c = a / b;
				System.out.println(c);
			}
			if(op.equals("+")) {
				int c = a + b;
				System.out.println(c);
			}
			if(op.equals("-")) {
				int c = a - b;
				System.out.println(c);
			}
			if(op.equals("*")) {
				int c = a * b;
				System.out.println(c);
			}
		}
	}
} import java.text.*; text.* java import java.math.*; math.* java import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 3;
		String[] num= new String[kaisu];
		while(true) {

			for(int i = 0; i < kaisu; i++) {
				num[i] = scan.next();
			}

			int a = Integer.parseInt(num[0]);
			String op = num[1];
			int b = Integer.parseInt(num[2]);

			if(op.equals("?")) {
				break;
			}
			if(op.equals("/")) {
				int c = a / b;
				System.out.println(c);
			}
			if(op.equals("+")) {
				int c = a + b;
				System.out.println(c);
			}
			if(op.equals("-")) {
				int c = a - b;
				System.out.println(c);
			}
			if(op.equals("*")) {
				int c = a * b;
				System.out.println(c);
			}
		}
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 3;
		String[] num= new String[kaisu];
		while(true) {

			for(int i = 0; i < kaisu; i++) {
				num[i] = scan.next();
			}

			int a = Integer.parseInt(num[0]);
			String op = num[1];
			int b = Integer.parseInt(num[2]);

			if(op.equals("?")) {
				break;
			}
			if(op.equals("/")) {
				int c = a / b;
				System.out.println(c);
			}
			if(op.equals("+")) {
				int c = a + b;
				System.out.println(c);
			}
			if(op.equals("-")) {
				int c = a - b;
				System.out.println(c);
			}
			if(op.equals("*")) {
				int c = a * b;
				System.out.println(c);
			}
		}
	} main {
		Scanner scan = new Scanner(System.in);
		int kaisu = 3;
		String[] num= new String[kaisu];
		while(true) {

			for(int i = 0; i < kaisu; i++) {
				num[i] = scan.next();
			}

			int a = Integer.parseInt(num[0]);
			String op = num[1];
			int b = Integer.parseInt(num[2]);

			if(op.equals("?")) {
				break;
			}
			if(op.equals("/")) {
				int c = a / b;
				System.out.println(c);
			}
			if(op.equals("+")) {
				int c = a + b;
				System.out.println(c);
			}
			if(op.equals("-")) {
				int c = a - b;
				System.out.println(c);
			}
			if(op.equals("*")) {
				int c = a * b;
				System.out.println(c);
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int kaisu = 3; kaisu 3 String[] num= new String[kaisu]; num new String[kaisu] kaisu while(true) {

			for(int i = 0; i < kaisu; i++) {
				num[i] = scan.next();
			}

			int a = Integer.parseInt(num[0]);
			String op = num[1];
			int b = Integer.parseInt(num[2]);

			if(op.equals("?")) {
				break;
			}
			if(op.equals("/")) {
				int c = a / b;
				System.out.println(c);
			}
			if(op.equals("+")) {
				int c = a + b;
				System.out.println(c);
			}
			if(op.equals("-")) {
				int c = a - b;
				System.out.println(c);
			}
			if(op.equals("*")) {
				int c = a * b;
				System.out.println(c);
			}
		} true {

			for(int i = 0; i < kaisu; i++) {
				num[i] = scan.next();
			}

			int a = Integer.parseInt(num[0]);
			String op = num[1];
			int b = Integer.parseInt(num[2]);

			if(op.equals("?")) {
				break;
			}
			if(op.equals("/")) {
				int c = a / b;
				System.out.println(c);
			}
			if(op.equals("+")) {
				int c = a + b;
				System.out.println(c);
			}
			if(op.equals("-")) {
				int c = a - b;
				System.out.println(c);
			}
			if(op.equals("*")) {
				int c = a * b;
				System.out.println(c);
			}
		} for(int i = 0; i < kaisu; i++) {
				num[i] = scan.next();
			} int i = 0; int i = 0; i 0 i < kaisu i kaisu i++ i++ i {
				num[i] = scan.next();
			} {
				num[i] = scan.next();
			} num[i] = scan.next() num[i] num i scan.next() scan.next scan int a = Integer.parseInt(num[0]); a Integer.parseInt(num[0]) Integer.parseInt Integer num[0] num 0 String op = num[1]; op num[1] num 1 int b = Integer.parseInt(num[2]); b Integer.parseInt(num[2]) Integer.parseInt Integer num[2] num 2 if(op.equals("?")) {
				break;
			} op.equals("?") op.equals op "?" {
				break;
			} break; if(op.equals("/")) {
				int c = a / b;
				System.out.println(c);
			} op.equals("/") op.equals op "/" {
				int c = a / b;
				System.out.println(c);
			} int c = a / b; c a / b a b System.out.println(c) System.out.println System.out System System.out c if(op.equals("+")) {
				int c = a + b;
				System.out.println(c);
			} op.equals("+") op.equals op "+" {
				int c = a + b;
				System.out.println(c);
			} int c = a + b; c a + b a b System.out.println(c) System.out.println System.out System System.out c if(op.equals("-")) {
				int c = a - b;
				System.out.println(c);
			} op.equals("-") op.equals op "-" {
				int c = a - b;
				System.out.println(c);
			} int c = a - b; c a - b a b System.out.println(c) System.out.println System.out System System.out c if(op.equals("*")) {
				int c = a * b;
				System.out.println(c);
			} op.equals("*") op.equals op "*" {
				int c = a * b;
				System.out.println(c);
			} int c = a * b; c a * b a b System.out.println(c) System.out.println System.out System System.out c String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 3;
		String[] num= new String[kaisu];
		while(true) {

			for(int i = 0; i < kaisu; i++) {
				num[i] = scan.next();
			}

			int a = Integer.parseInt(num[0]);
			String op = num[1];
			int b = Integer.parseInt(num[2]);

			if(op.equals("?")) {
				break;
			}
			if(op.equals("/")) {
				int c = a / b;
				System.out.println(c);
			}
			if(op.equals("+")) {
				int c = a + b;
				System.out.println(c);
			}
			if(op.equals("-")) {
				int c = a - b;
				System.out.println(c);
			}
			if(op.equals("*")) {
				int c = a * b;
				System.out.println(c);
			}
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 3;
		String[] num= new String[kaisu];
		while(true) {

			for(int i = 0; i < kaisu; i++) {
				num[i] = scan.next();
			}

			int a = Integer.parseInt(num[0]);
			String op = num[1];
			int b = Integer.parseInt(num[2]);

			if(op.equals("?")) {
				break;
			}
			if(op.equals("/")) {
				int c = a / b;
				System.out.println(c);
			}
			if(op.equals("+")) {
				int c = a + b;
				System.out.println(c);
			}
			if(op.equals("-")) {
				int c = a - b;
				System.out.println(c);
			}
			if(op.equals("*")) {
				int c = a * b;
				System.out.println(c);
			}
		}
	}
} Main
import java.text.*;
import java.math.*;
import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int kaisu = 3;
		String[] num= new String[kaisu];
		while(true) {

			for(int i = 0; i < kaisu; i++) {
				num[i] = scan.next();
			}

			int a = Integer.parseInt(num[0]);
			String op = num[1];
			int b = Integer.parseInt(num[2]);

			if(op.equals("?")) {
				break;
			}
			if(op.equals("/")) {
				int c = a / b;
				System.out.println(c);
			}
			if(op.equals("+")) {
				int c = a + b;
				System.out.println(c);
			}
			if(op.equals("-")) {
				int c = a - b;
				System.out.println(c);
			}
			if(op.equals("*")) {
				int c = a * b;
				System.out.println(c);
			}
		}
	}
}