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

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

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

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

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

}