import java.util.Scanner;

public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);

		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?"))
				break;

			System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b);
		}
	}
}
 import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);

		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?"))
				break;

			System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b);
		}
	}
} Main public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);

		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?"))
				break;

			System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b);
		}
	} main {
		Scanner scan = new Scanner(System.in);

		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?"))
				break;

			System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b);
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?"))
				break;

			System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b);
		} ; {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?"))
				break;

			System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b);
		} {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?"))
				break;

			System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b);
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String op = scan.next(); op scan.next() scan.next scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if(op.equals("?"))
				break; op.equals("?") op.equals op "?" break; System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b) System.out.println System.out System System.out !op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b !op.equals("+") op.equals("+") op.equals op "+" !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b !op.equals("-") op.equals("-") op.equals op "-" !op.equals("*") ? a/b : a*b !op.equals("*") op.equals("*") op.equals op "*" a/b a b a*b a b a-b a b a+b a b String args[] args public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);

		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?"))
				break;

			System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b);
		}
	}
} public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);

		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?"))
				break;

			System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b);
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String args[]) {
		Scanner scan = new Scanner(System.in);

		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?"))
				break;

			System.out.println(!op.equals("+") ? !op.equals("-") ? !op.equals("*") ? a/b : a*b : a-b : a+b);
		}
	}
}

