import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		int x = 0;
		
		while(true) {
	        int a = scan.nextInt();
	        String op = scan.next();
	        int b = scan.nextInt();
	        
			if (op.equals ("?")){
				break;
			}
			else if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			}
		}
		
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		int x = 0;
		
		while(true) {
	        int a = scan.nextInt();
	        String op = scan.next();
	        int b = scan.nextInt();
	        
			if (op.equals ("?")){
				break;
			}
			else if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			}
		}
		
	}

} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		int x = 0;
		
		while(true) {
	        int a = scan.nextInt();
	        String op = scan.next();
	        int b = scan.nextInt();
	        
			if (op.equals ("?")){
				break;
			}
			else if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			}
		}
		
	} main {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		int x = 0;
		
		while(true) {
	        int a = scan.nextInt();
	        String op = scan.next();
	        int b = scan.nextInt();
	        
			if (op.equals ("?")){
				break;
			}
			else if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			}
		}
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int x = 0; x 0 while(true) {
	        int a = scan.nextInt();
	        String op = scan.next();
	        int b = scan.nextInt();
	        
			if (op.equals ("?")){
				break;
			}
			else if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			}
		} true {
	        int a = scan.nextInt();
	        String op = scan.next();
	        int b = scan.nextInt();
	        
			if (op.equals ("?")){
				break;
			}
			else if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			}
		} 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;
			}
			else if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			} op.equals ("?") op.equals op "?" {
				break;
			} break; if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			} op.equals ("+") op.equals op "+" {
				x = a+b;
				System.out.println(x);
			} x = a+b x a+b a b System.out.println(x) System.out.println System.out System System.out x if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			} op.equals ("-") op.equals op "-" {
				x = a-b;
				System.out.println(x);
			} x = a-b x a-b a b System.out.println(x) System.out.println System.out System System.out x if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			} op.equals ("*") op.equals op "*" {
				x = a*b;
				System.out.println(x);
			} x = a*b x a*b a b System.out.println(x) System.out.println System.out System System.out x if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			} op.equals ("/") op.equals op "/" {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			} double A = a; A a double y = A/b; y A/b A b System.out.println((int) y) System.out.println System.out System System.out (int) y String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		int x = 0;
		
		while(true) {
	        int a = scan.nextInt();
	        String op = scan.next();
	        int b = scan.nextInt();
	        
			if (op.equals ("?")){
				break;
			}
			else if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			}
		}
		
	}

} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		int x = 0;
		
		while(true) {
	        int a = scan.nextInt();
	        String op = scan.next();
	        int b = scan.nextInt();
	        
			if (op.equals ("?")){
				break;
			}
			else if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			}
		}
		
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????

		Scanner scan = new Scanner(System.in);
		int x = 0;
		
		while(true) {
	        int a = scan.nextInt();
	        String op = scan.next();
	        int b = scan.nextInt();
	        
			if (op.equals ("?")){
				break;
			}
			else if(op.equals ("+")) {
				x = a+b;
				System.out.println(x);
			}
			else if(op.equals ("-")) {
				x = a-b;
				System.out.println(x);
			}
			else if(op.equals ("*")) {
				x = a*b;
				System.out.println(x);
			}
			else if(op.equals ("/")) {
				double A = a;
				double y = A/b;
				System.out.println((int) y);
			}
		}
		
	}

}