import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a;
		String op;
		int b;
		for(int k =1;k>0;k++){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a;
		String op;
		int b;
		for(int k =1;k>0;k++){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a;
		String op;
		int b;
		for(int k =1;k>0;k++){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
	} main {
		Scanner scan = new Scanner(System.in);
		int a;
		String op;
		int b;
		for(int k =1;k>0;k++){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int a; a String op; op int b; b for(int k =1;k>0;k++){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		} int k =1; int k =1; k 1 k>0 k 0 k++ k++ k {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		} {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		} a = scan.nextInt() a scan.nextInt() scan.nextInt scan op = scan.next() op scan.next() scan.next scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			} op.equals("+") op.equals op "+" {
				System.out.println(a+b);
			} System.out.println(a+b) System.out.println System.out System System.out a+b a b if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			} op.equals("-") op.equals op "-" {
				System.out.println(a-b);
			} System.out.println(a-b) System.out.println System.out System System.out a-b a b if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			} op.equals("*") op.equals op "*" {
				System.out.println(a*b);
			} System.out.println(a*b) System.out.println System.out System System.out a*b a b if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			} op.equals("/") op.equals op "/" {
				System.out.println(a/b);
			} System.out.println(a/b) System.out.println System.out System System.out a/b a b if(op.equals("?")){
				break;
			} op.equals("?") op.equals op "?" {
				break;
			} break; String[] args args public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a;
		String op;
		int b;
		for(int k =1;k>0;k++){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
	}
} public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a;
		String op;
		int b;
		for(int k =1;k>0;k++){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
	}
} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int a;
		String op;
		int b;
		for(int k =1;k>0;k++){
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
			if(op.equals("+")){
				System.out.println(a+b);
			}else if(op.equals("-")){
				System.out.println(a-b);
			}else if(op.equals("*")){
				System.out.println(a*b);
			}else if(op.equals("/")){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
	}
}