import java.util.*;
class Main {
	public static void main (String[] args) throws java.lang.Exception {
		Scanner sc = new Scanner(System.in);
		while(true) {
			int a = sc.nextInt();
			String d = sc.next();
			int b = sc.nextInt();
			if(d.equals("?")) break;
			if(d.equals("+")) System.out.println(a + b);
			if(d.equals("-")) System.out.println(a - b);
			if(d.equals("*")) System.out.println(a * b);
			if(d.equals("/")) System.out.println(a / b);
		}
	}
} import java.util.*; util.* java class Main {
	public static void main (String[] args) throws java.lang.Exception {
		Scanner sc = new Scanner(System.in);
		while(true) {
			int a = sc.nextInt();
			String d = sc.next();
			int b = sc.nextInt();
			if(d.equals("?")) break;
			if(d.equals("+")) System.out.println(a + b);
			if(d.equals("-")) System.out.println(a - b);
			if(d.equals("*")) System.out.println(a * b);
			if(d.equals("/")) System.out.println(a / b);
		}
	}
} Main public static void main (String[] args) throws java.lang.Exception {
		Scanner sc = new Scanner(System.in);
		while(true) {
			int a = sc.nextInt();
			String d = sc.next();
			int b = sc.nextInt();
			if(d.equals("?")) break;
			if(d.equals("+")) System.out.println(a + b);
			if(d.equals("-")) System.out.println(a - b);
			if(d.equals("*")) System.out.println(a * b);
			if(d.equals("/")) System.out.println(a / b);
		}
	} main {
		Scanner sc = new Scanner(System.in);
		while(true) {
			int a = sc.nextInt();
			String d = sc.next();
			int b = sc.nextInt();
			if(d.equals("?")) break;
			if(d.equals("+")) System.out.println(a + b);
			if(d.equals("-")) System.out.println(a - b);
			if(d.equals("*")) System.out.println(a * b);
			if(d.equals("/")) System.out.println(a / b);
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true) {
			int a = sc.nextInt();
			String d = sc.next();
			int b = sc.nextInt();
			if(d.equals("?")) break;
			if(d.equals("+")) System.out.println(a + b);
			if(d.equals("-")) System.out.println(a - b);
			if(d.equals("*")) System.out.println(a * b);
			if(d.equals("/")) System.out.println(a / b);
		} true {
			int a = sc.nextInt();
			String d = sc.next();
			int b = sc.nextInt();
			if(d.equals("?")) break;
			if(d.equals("+")) System.out.println(a + b);
			if(d.equals("-")) System.out.println(a - b);
			if(d.equals("*")) System.out.println(a * b);
			if(d.equals("/")) System.out.println(a / b);
		} int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc String d = sc.next(); d sc.next() sc.next sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc if(d.equals("?")) break; d.equals("?") d.equals d "?" break; if(d.equals("+")) System.out.println(a + b); d.equals("+") d.equals d "+" System.out.println(a + b) System.out.println System.out System System.out a + b a b if(d.equals("-")) System.out.println(a - b); d.equals("-") d.equals d "-" System.out.println(a - b) System.out.println System.out System System.out a - b a b if(d.equals("*")) System.out.println(a * b); d.equals("*") d.equals d "*" System.out.println(a * b) System.out.println System.out System System.out a * b a b if(d.equals("/")) System.out.println(a / b); d.equals("/") d.equals d "/" System.out.println(a / b) System.out.println System.out System System.out a / b a b String[] args args
import java.util.*;
class Main {
	public static void main (String[] args) throws java.lang.Exception {
		Scanner sc = new Scanner(System.in);
		while(true) {
			int a = sc.nextInt();
			String d = sc.next();
			int b = sc.nextInt();
			if(d.equals("?")) break;
			if(d.equals("+")) System.out.println(a + b);
			if(d.equals("-")) System.out.println(a - b);
			if(d.equals("*")) System.out.println(a * b);
			if(d.equals("/")) System.out.println(a / b);
		}
	}
}