import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner stdIn = new Scanner(System.in);

		for (;;) {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			int ans = 0;
			
			if (op.equals("?")) break;
			
			switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			}
			System.out.println(ans);
		}
	}
}
 import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		
		Scanner stdIn = new Scanner(System.in);

		for (;;) {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			int ans = 0;
			
			if (op.equals("?")) break;
			
			switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			}
			System.out.println(ans);
		}
	}
} Main public static void main(String[] args) {
		
		Scanner stdIn = new Scanner(System.in);

		for (;;) {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			int ans = 0;
			
			if (op.equals("?")) break;
			
			switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			}
			System.out.println(ans);
		}
	} main {
		
		Scanner stdIn = new Scanner(System.in);

		for (;;) {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			int ans = 0;
			
			if (op.equals("?")) break;
			
			switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			}
			System.out.println(ans);
		}
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) for (;;) {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			int ans = 0;
			
			if (op.equals("?")) break;
			
			switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			}
			System.out.println(ans);
		} ; {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			int ans = 0;
			
			if (op.equals("?")) break;
			
			switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			}
			System.out.println(ans);
		} {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			int ans = 0;
			
			if (op.equals("?")) break;
			
			switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			}
			System.out.println(ans);
		} int a = stdIn.nextInt(); a stdIn.nextInt() stdIn.nextInt stdIn String op = stdIn.next(); op stdIn.next() stdIn.next stdIn int b = stdIn.nextInt(); b stdIn.nextInt() stdIn.nextInt stdIn int ans = 0; ans 0 if (op.equals("?")) break; op.equals("?") op.equals op "?" break; switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			} op case "+": "+" case "+": ans = a + b ans a + b a b break; case "-": "-" case "-": ans = a - b ans a - b a b break; case "*": "*" case "*": ans = a * b ans a * b a b break; case "/": "/" case "/": ans = a / b ans a / b a b System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

	public static void main(String[] args) {
		
		Scanner stdIn = new Scanner(System.in);

		for (;;) {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			int ans = 0;
			
			if (op.equals("?")) break;
			
			switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			}
			System.out.println(ans);
		}
	}
} public class Main {

	public static void main(String[] args) {
		
		Scanner stdIn = new Scanner(System.in);

		for (;;) {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			int ans = 0;
			
			if (op.equals("?")) break;
			
			switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			}
			System.out.println(ans);
		}
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		Scanner stdIn = new Scanner(System.in);

		for (;;) {
			int a = stdIn.nextInt();
			String op = stdIn.next();
			int b = stdIn.nextInt();
			int ans = 0;
			
			if (op.equals("?")) break;
			
			switch (op) {
			case "+":
				ans = a + b;
				break;
	
			case "-":
				ans = a - b;
				break;
				
			case "*":
				ans = a * b;
				break;
				
			case "/":
				ans = a / b;
			}
			System.out.println(ans);
		}
	}
}

