import java.util.Scanner;
class Main {
	int a,b,i;
	String op;
	public void suzuki(){
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		while(!op.equals("?")){
			if(op.equals("+")){
				i = a + b;
				System.out.println(i);
			}else if(op.equals("-")){
				i = a - b;
				System.out.println(i);
			}else if(op.equals("*")){
				i = a * b;
				System.out.println(i);
			}else if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
	public static void main(String[] args){
		new Main().suzuki();
	}
} import java.util.Scanner; Scanner java.util class Main {
	int a,b,i;
	String op;
	public void suzuki(){
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		while(!op.equals("?")){
			if(op.equals("+")){
				i = a + b;
				System.out.println(i);
			}else if(op.equals("-")){
				i = a - b;
				System.out.println(i);
			}else if(op.equals("*")){
				i = a * b;
				System.out.println(i);
			}else if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
	public static void main(String[] args){
		new Main().suzuki();
	}
} Main int a a b b i; i String op; op public void suzuki(){
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		while(!op.equals("?")){
			if(op.equals("+")){
				i = a + b;
				System.out.println(i);
			}else if(op.equals("-")){
				i = a - b;
				System.out.println(i);
			}else if(op.equals("*")){
				i = a * b;
				System.out.println(i);
			}else if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	} suzuki {
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		while(!op.equals("?")){
			if(op.equals("+")){
				i = a + b;
				System.out.println(i);
			}else if(op.equals("-")){
				i = a - b;
				System.out.println(i);
			}else if(op.equals("*")){
				i = a * b;
				System.out.println(i);
			}else if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc while(!op.equals("?")){
			if(op.equals("+")){
				i = a + b;
				System.out.println(i);
			}else if(op.equals("-")){
				i = a - b;
				System.out.println(i);
			}else if(op.equals("*")){
				i = a * b;
				System.out.println(i);
			}else if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		} !op.equals("?") op.equals("?") op.equals op "?" {
			if(op.equals("+")){
				i = a + b;
				System.out.println(i);
			}else if(op.equals("-")){
				i = a - b;
				System.out.println(i);
			}else if(op.equals("*")){
				i = a * b;
				System.out.println(i);
			}else if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		} if(op.equals("+")){
				i = a + b;
				System.out.println(i);
			}else if(op.equals("-")){
				i = a - b;
				System.out.println(i);
			}else if(op.equals("*")){
				i = a * b;
				System.out.println(i);
			}else if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			} op.equals("+") op.equals op "+" {
				i = a + b;
				System.out.println(i);
			} i = a + b i a + b a b System.out.println(i) System.out.println System.out System System.out i if(op.equals("-")){
				i = a - b;
				System.out.println(i);
			}else if(op.equals("*")){
				i = a * b;
				System.out.println(i);
			}else if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			} op.equals("-") op.equals op "-" {
				i = a - b;
				System.out.println(i);
			} i = a - b i a - b a b System.out.println(i) System.out.println System.out System System.out i if(op.equals("*")){
				i = a * b;
				System.out.println(i);
			}else if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			} op.equals("*") op.equals op "*" {
				i = a * b;
				System.out.println(i);
			} i = a * b i a * b a b System.out.println(i) System.out.println System.out System System.out i if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			} op.equals("/") op.equals op "/" {
				i = a / b;
				System.out.println(i);
			} i = a / b i a / b a b System.out.println(i) System.out.println System.out System System.out i a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc public static void main(String[] args){
		new Main().suzuki();
	} main {
		new Main().suzuki();
	} new Main().suzuki() new Main().suzuki new Main() String[] args args
import java.util.Scanner;
class Main {
	int a,b,i;
	String op;
	public void suzuki(){
		Scanner sc = new Scanner(System.in);
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		while(!op.equals("?")){
			if(op.equals("+")){
				i = a + b;
				System.out.println(i);
			}else if(op.equals("-")){
				i = a - b;
				System.out.println(i);
			}else if(op.equals("*")){
				i = a * b;
				System.out.println(i);
			}else if(op.equals("/")){
				i = a / b;
				System.out.println(i);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
	public static void main(String[] args){
		new Main().suzuki();
	}
}