import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String op = sc.next();
			int b = sc.nextInt();
			int x=0;
			if(op.equals("?"))break;
			
			if(op.equals("+")){
				x=a+b;
				
			}
			else if(op.equals("-")){
				x=a-b;
				
			}
			else if(op.equals("*")){
				x=a*b;
				
			}
			else if(op.equals("/")){
				x=a/b;
				
			}
			System.out.println(x);

		}
		

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String op = sc.next();
			int b = sc.nextInt();
			int x=0;
			if(op.equals("?"))break;
			
			if(op.equals("+")){
				x=a+b;
				
			}
			else if(op.equals("-")){
				x=a-b;
				
			}
			else if(op.equals("*")){
				x=a*b;
				
			}
			else if(op.equals("/")){
				x=a/b;
				
			}
			System.out.println(x);

		}
		

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String op = sc.next();
			int b = sc.nextInt();
			int x=0;
			if(op.equals("?"))break;
			
			if(op.equals("+")){
				x=a+b;
				
			}
			else if(op.equals("-")){
				x=a-b;
				
			}
			else if(op.equals("*")){
				x=a*b;
				
			}
			else if(op.equals("/")){
				x=a/b;
				
			}
			System.out.println(x);

		}
		

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

		}
		

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

		} true {
			int a = sc.nextInt();
			String op = sc.next();
			int b = sc.nextInt();
			int x=0;
			if(op.equals("?"))break;
			
			if(op.equals("+")){
				x=a+b;
				
			}
			else if(op.equals("-")){
				x=a-b;
				
			}
			else if(op.equals("*")){
				x=a*b;
				
			}
			else if(op.equals("/")){
				x=a/b;
				
			}
			System.out.println(x);

		} int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc String op = sc.next(); op sc.next() sc.next sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc int x=0; x 0 if(op.equals("?"))break; op.equals("?") op.equals op "?" break; if(op.equals("+")){
				x=a+b;
				
			}
			else if(op.equals("-")){
				x=a-b;
				
			}
			else if(op.equals("*")){
				x=a*b;
				
			}
			else if(op.equals("/")){
				x=a/b;
				
			} op.equals("+") op.equals op "+" {
				x=a+b;
				
			} x=a+b x a+b a b if(op.equals("-")){
				x=a-b;
				
			}
			else if(op.equals("*")){
				x=a*b;
				
			}
			else if(op.equals("/")){
				x=a/b;
				
			} op.equals("-") op.equals op "-" {
				x=a-b;
				
			} x=a-b x a-b a b if(op.equals("*")){
				x=a*b;
				
			}
			else if(op.equals("/")){
				x=a/b;
				
			} op.equals("*") op.equals op "*" {
				x=a*b;
				
			} x=a*b x a*b a b if(op.equals("/")){
				x=a/b;
				
			} op.equals("/") op.equals op "/" {
				x=a/b;
				
			} x=a/b x a/b a b System.out.println(x) System.out.println System.out System System.out x String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String op = sc.next();
			int b = sc.nextInt();
			int x=0;
			if(op.equals("?"))break;
			
			if(op.equals("+")){
				x=a+b;
				
			}
			else if(op.equals("-")){
				x=a-b;
				
			}
			else if(op.equals("*")){
				x=a*b;
				
			}
			else if(op.equals("/")){
				x=a/b;
				
			}
			System.out.println(x);

		}
		

	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String op = sc.next();
			int b = sc.nextInt();
			int x=0;
			if(op.equals("?"))break;
			
			if(op.equals("+")){
				x=a+b;
				
			}
			else if(op.equals("-")){
				x=a-b;
				
			}
			else if(op.equals("*")){
				x=a*b;
				
			}
			else if(op.equals("/")){
				x=a/b;
				
			}
			System.out.println(x);

		}
		

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String op = sc.next();
			int b = sc.nextInt();
			int x=0;
			if(op.equals("?"))break;
			
			if(op.equals("+")){
				x=a+b;
				
			}
			else if(op.equals("-")){
				x=a-b;
				
			}
			else if(op.equals("*")){
				x=a*b;
				
			}
			else if(op.equals("/")){
				x=a/b;
				
			}
			System.out.println(x);

		}
		

	}
}
