import java.util.Scanner;
class Main {
    public void kami() {
        		Scanner sc = new Scanner(System.in);
		int x = 0;
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		while(!op.equals("?")){
			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("/")){
				x = a / b;
				System.out.println(x);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}

    }
	public static void main(String[] args) {
    new Main().kami();
	}

} import java.util.Scanner; Scanner java.util class Main {
    public void kami() {
        		Scanner sc = new Scanner(System.in);
		int x = 0;
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		while(!op.equals("?")){
			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("/")){
				x = a / b;
				System.out.println(x);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}

    }
	public static void main(String[] args) {
    new Main().kami();
	}

} Main public void kami() {
        		Scanner sc = new Scanner(System.in);
		int x = 0;
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		while(!op.equals("?")){
			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("/")){
				x = a / b;
				System.out.println(x);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}

    } kami {
        		Scanner sc = new Scanner(System.in);
		int x = 0;
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		while(!op.equals("?")){
			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("/")){
				x = a / b;
				System.out.println(x);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int x = 0; x 0 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 while(!op.equals("?")){
			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("/")){
				x = a / b;
				System.out.println(x);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		} !op.equals("?") op.equals("?") op.equals op "?" {
			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("/")){
				x = a / b;
				System.out.println(x);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		} 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("/")){
				x = a / b;
				System.out.println(x);
			} 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("/")){
				x = a / b;
				System.out.println(x);
			} 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);
			} 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);
			} 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 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().kami();
	} main {
    new Main().kami();
	} new Main().kami() new Main().kami new Main() String[] args args
import java.util.Scanner;
class Main {
    public void kami() {
        		Scanner sc = new Scanner(System.in);
		int x = 0;
		int a = sc.nextInt();
		String op = sc.next();
		int b = sc.nextInt();
		
		while(!op.equals("?")){
			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("/")){
				x = a / b;
				System.out.println(x);
			}
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}

    }
	public static void main(String[] args) {
    new Main().kami();
	}

}