import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		while(true){
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			if(op.equals("?"))
				break;
			switch (op.charAt(0)) {
				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(a/b); break;
			}
		}
	}
} import java.util.*; util.* java class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		while(true){
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			if(op.equals("?"))
				break;
			switch (op.charAt(0)) {
				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(a/b); break;
			}
		}
	}
} Main public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		while(true){
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			if(op.equals("?"))
				break;
			switch (op.charAt(0)) {
				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(a/b); break;
			}
		}
	} main {
		Scanner stdIn = new Scanner(System.in);
		while(true){
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			if(op.equals("?"))
				break;
			switch (op.charAt(0)) {
				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(a/b); break;
			}
		}
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) while(true){
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			if(op.equals("?"))
				break;
			switch (op.charAt(0)) {
				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(a/b); break;
			}
		} true {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			if(op.equals("?"))
				break;
			switch (op.charAt(0)) {
				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(a/b); break;
			}
		} int a = stdIn.nextInt(); a stdIn.nextInt() stdIn.nextInt stdIn String op = stdIn.next(); op stdIn.next() stdIn.next stdIn int b = stdIn.nextInt(); b stdIn.nextInt() stdIn.nextInt stdIn if(op.equals("?"))
				break; op.equals("?") op.equals op "?" break; switch (op.charAt(0)) {
				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(a/b); break;
			} op.charAt(0) op.charAt op 0 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(a/b) System.out.println System.out System System.out a/b a b break; String[] args args
import java.util.*;

class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		while(true){
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			if(op.equals("?"))
				break;
			switch (op.charAt(0)) {
				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(a/b); break;
			}
		}
	}
}