import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		String b = sc.next();
		int c = sc.nextInt();
		
		while (!b.equals("?")) {
			System.out.println(calc(a, b, c));
			a = sc.nextInt();
			b = sc.next();
			c = sc.nextInt();			
		}
	}
	
	public static int calc(int a, String b, int c) {
		int result = 0;
		
		if(b.equals("+")) result = a + c;
		else if (b.equals("-")) result = a - c;
		else if (b.equals("*")) result = a * c;
		else if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0;
		
		return result;
	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		String b = sc.next();
		int c = sc.nextInt();
		
		while (!b.equals("?")) {
			System.out.println(calc(a, b, c));
			a = sc.nextInt();
			b = sc.next();
			c = sc.nextInt();			
		}
	}
	
	public static int calc(int a, String b, int c) {
		int result = 0;
		
		if(b.equals("+")) result = a + c;
		else if (b.equals("-")) result = a - c;
		else if (b.equals("*")) result = a * c;
		else if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0;
		
		return result;
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		String b = sc.next();
		int c = sc.nextInt();
		
		while (!b.equals("?")) {
			System.out.println(calc(a, b, c));
			a = sc.nextInt();
			b = sc.next();
			c = sc.nextInt();			
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		String b = sc.next();
		int c = sc.nextInt();
		
		while (!b.equals("?")) {
			System.out.println(calc(a, b, c));
			a = sc.nextInt();
			b = sc.next();
			c = sc.nextInt();			
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc String b = sc.next(); b sc.next() sc.next sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc while (!b.equals("?")) {
			System.out.println(calc(a, b, c));
			a = sc.nextInt();
			b = sc.next();
			c = sc.nextInt();			
		} !b.equals("?") b.equals("?") b.equals b "?" {
			System.out.println(calc(a, b, c));
			a = sc.nextInt();
			b = sc.next();
			c = sc.nextInt();			
		} System.out.println(calc(a, b, c)) System.out.println System.out System System.out calc(a, b, c) calc a b c a = sc.nextInt() a sc.nextInt() sc.nextInt sc b = sc.next() b sc.next() sc.next sc c = sc.nextInt() c sc.nextInt() sc.nextInt sc String[] args args public static int calc(int a, String b, int c) {
		int result = 0;
		
		if(b.equals("+")) result = a + c;
		else if (b.equals("-")) result = a - c;
		else if (b.equals("*")) result = a * c;
		else if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0;
		
		return result;
	} calc {
		int result = 0;
		
		if(b.equals("+")) result = a + c;
		else if (b.equals("-")) result = a - c;
		else if (b.equals("*")) result = a * c;
		else if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0;
		
		return result;
	} int result = 0; result 0 if(b.equals("+")) result = a + c;
		else if (b.equals("-")) result = a - c;
		else if (b.equals("*")) result = a * c;
		else if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0; b.equals("+") b.equals b "+" result = a + c result a + c a c if (b.equals("-")) result = a - c;
		else if (b.equals("*")) result = a * c;
		else if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0; b.equals("-") b.equals b "-" result = a - c result a - c a c if (b.equals("*")) result = a * c;
		else if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0; b.equals("*") b.equals b "*" result = a * c result a * c a c if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0; b.equals("/") b.equals b "/" result = a / c result a / c a c if (b.equals("?")) result = 0; b.equals("?") b.equals b "?" result = 0 result 0 return result; result int a a String b b int c c public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		String b = sc.next();
		int c = sc.nextInt();
		
		while (!b.equals("?")) {
			System.out.println(calc(a, b, c));
			a = sc.nextInt();
			b = sc.next();
			c = sc.nextInt();			
		}
	}
	
	public static int calc(int a, String b, int c) {
		int result = 0;
		
		if(b.equals("+")) result = a + c;
		else if (b.equals("-")) result = a - c;
		else if (b.equals("*")) result = a * c;
		else if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0;
		
		return result;
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		String b = sc.next();
		int c = sc.nextInt();
		
		while (!b.equals("?")) {
			System.out.println(calc(a, b, c));
			a = sc.nextInt();
			b = sc.next();
			c = sc.nextInt();			
		}
	}
	
	public static int calc(int a, String b, int c) {
		int result = 0;
		
		if(b.equals("+")) result = a + c;
		else if (b.equals("-")) result = a - c;
		else if (b.equals("*")) result = a * c;
		else if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0;
		
		return result;
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		String b = sc.next();
		int c = sc.nextInt();
		
		while (!b.equals("?")) {
			System.out.println(calc(a, b, c));
			a = sc.nextInt();
			b = sc.next();
			c = sc.nextInt();			
		}
	}
	
	public static int calc(int a, String b, int c) {
		int result = 0;
		
		if(b.equals("+")) result = a + c;
		else if (b.equals("-")) result = a - c;
		else if (b.equals("*")) result = a * c;
		else if (b.equals("/")) result = a / c;
		else if (b.equals("?")) result = 0;
		
		return result;
	}

}