import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		long a,b;
		String op;
		while(s.hasNext()) {
			a  = Integer.parseInt(s.next());
			op =                  s.next() ;
			if(op.equals("?"))
				return;
			b  = Integer.parseInt(s.next());

			switch (op) {
			case "+":
				System.out.println(a+b);
				break;
			case "-":
				System.out.println(a-b);
				break;
			case "*":
				System.out.println(a*b);
				break;
			case "/":
				System.out.println((int)(1.0*a/b));
				break;
			}
		}
	}
} import java.util.*; util.* java class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		long a,b;
		String op;
		while(s.hasNext()) {
			a  = Integer.parseInt(s.next());
			op =                  s.next() ;
			if(op.equals("?"))
				return;
			b  = Integer.parseInt(s.next());

			switch (op) {
			case "+":
				System.out.println(a+b);
				break;
			case "-":
				System.out.println(a-b);
				break;
			case "*":
				System.out.println(a*b);
				break;
			case "/":
				System.out.println((int)(1.0*a/b));
				break;
			}
		}
	}
} Main static Scanner s = new Scanner(System.in); s new Scanner(System.in) public static void main(String[] args) {
		long a,b;
		String op;
		while(s.hasNext()) {
			a  = Integer.parseInt(s.next());
			op =                  s.next() ;
			if(op.equals("?"))
				return;
			b  = Integer.parseInt(s.next());

			switch (op) {
			case "+":
				System.out.println(a+b);
				break;
			case "-":
				System.out.println(a-b);
				break;
			case "*":
				System.out.println(a*b);
				break;
			case "/":
				System.out.println((int)(1.0*a/b));
				break;
			}
		}
	} main {
		long a,b;
		String op;
		while(s.hasNext()) {
			a  = Integer.parseInt(s.next());
			op =                  s.next() ;
			if(op.equals("?"))
				return;
			b  = Integer.parseInt(s.next());

			switch (op) {
			case "+":
				System.out.println(a+b);
				break;
			case "-":
				System.out.println(a-b);
				break;
			case "*":
				System.out.println(a*b);
				break;
			case "/":
				System.out.println((int)(1.0*a/b));
				break;
			}
		}
	} long a a b; b String op; op while(s.hasNext()) {
			a  = Integer.parseInt(s.next());
			op =                  s.next() ;
			if(op.equals("?"))
				return;
			b  = Integer.parseInt(s.next());

			switch (op) {
			case "+":
				System.out.println(a+b);
				break;
			case "-":
				System.out.println(a-b);
				break;
			case "*":
				System.out.println(a*b);
				break;
			case "/":
				System.out.println((int)(1.0*a/b));
				break;
			}
		} s.hasNext() s.hasNext s {
			a  = Integer.parseInt(s.next());
			op =                  s.next() ;
			if(op.equals("?"))
				return;
			b  = Integer.parseInt(s.next());

			switch (op) {
			case "+":
				System.out.println(a+b);
				break;
			case "-":
				System.out.println(a-b);
				break;
			case "*":
				System.out.println(a*b);
				break;
			case "/":
				System.out.println((int)(1.0*a/b));
				break;
			}
		} a  = Integer.parseInt(s.next()) a Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s op =                  s.next() op s.next() s.next s if(op.equals("?"))
				return; op.equals("?") op.equals op "?" return; b  = Integer.parseInt(s.next()) b Integer.parseInt(s.next()) Integer.parseInt Integer s.next() s.next s switch (op) {
			case "+":
				System.out.println(a+b);
				break;
			case "-":
				System.out.println(a-b);
				break;
			case "*":
				System.out.println(a*b);
				break;
			case "/":
				System.out.println((int)(1.0*a/b));
				break;
			} op case "+": "+" case "+": System.out.println(a+b) System.out.println System.out System System.out a+b a b break; case "-": "-" case "-": System.out.println(a-b) System.out.println System.out System System.out a-b a b break; case "*": "*" case "*": System.out.println(a*b) System.out.println System.out System System.out a*b a b break; case "/": "/" case "/": System.out.println((int)(1.0*a/b)) System.out.println System.out System System.out (int)(1.0*a/b) 1.0*a 1.0 a b break; String[] args args
import java.util.*;
class Main{
	static Scanner s = new Scanner(System.in);
	public static void main(String[] args) {
		long a,b;
		String op;
		while(s.hasNext()) {
			a  = Integer.parseInt(s.next());
			op =                  s.next() ;
			if(op.equals("?"))
				return;
			b  = Integer.parseInt(s.next());

			switch (op) {
			case "+":
				System.out.println(a+b);
				break;
			case "-":
				System.out.println(a-b);
				break;
			case "*":
				System.out.println(a*b);
				break;
			case "/":
				System.out.println((int)(1.0*a/b));
				break;
			}
		}
	}
}