import java.util.Scanner;

public class Main {
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			int a =scanner.nextInt();
			String op =scanner.next();
			int b =scanner.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 static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}
} import java.util.Scanner; Scanner java.util public class Main {
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			int a =scanner.nextInt();
			String op =scanner.next();
			int b =scanner.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 static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}
} Main private void calc(){
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			int a =scanner.nextInt();
			String op =scanner.next();
			int b =scanner.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; 
		}
	} calc {
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			int a =scanner.nextInt();
			String op =scanner.next();
			int b =scanner.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 scanner = new Scanner(System.in); scanner new Scanner(System.in) while(true){
			int a =scanner.nextInt();
			String op =scanner.next();
			int b =scanner.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; 
		} true {
			int a =scanner.nextInt();
			String op =scanner.next();
			int b =scanner.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 a =scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner String op =scanner.next(); op scanner.next() scanner.next scanner int b =scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner 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; public static void main(String[] args) {
		Main run =new Main();
		run.calc();

	} main {
		Main run =new Main();
		run.calc();

	} Main run =new Main(); run new Main() run.calc() run.calc run String[] args args public class Main {
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			int a =scanner.nextInt();
			String op =scanner.next();
			int b =scanner.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 static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}
} public class Main {
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			int a =scanner.nextInt();
			String op =scanner.next();
			int b =scanner.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 static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}
} Main
import java.util.Scanner;

public class Main {
	private void calc(){
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			int a =scanner.nextInt();
			String op =scanner.next();
			int b =scanner.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 static void main(String[] args) {
		Main run =new Main();
		run.calc();

	}
}