import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int ans;
		ans = 0;
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if(op.equals("?"))
				break;
			if(op.equals("+"))
				ans = a + b;
			else if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b;
		System.out.println(ans);
	}
	}
	} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int ans;
		ans = 0;
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if(op.equals("?"))
				break;
			if(op.equals("+"))
				ans = a + b;
			else if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b;
		System.out.println(ans);
	}
	}
	} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int ans;
		ans = 0;
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if(op.equals("?"))
				break;
			if(op.equals("+"))
				ans = a + b;
			else if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b;
		System.out.println(ans);
	}
	} main {
		Scanner scan = new Scanner(System.in);
		int ans;
		ans = 0;
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if(op.equals("?"))
				break;
			if(op.equals("+"))
				ans = a + b;
			else if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b;
		System.out.println(ans);
	}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int ans; ans ans = 0 ans 0 for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if(op.equals("?"))
				break;
			if(op.equals("+"))
				ans = a + b;
			else if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b;
		System.out.println(ans);
	} ; {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if(op.equals("?"))
				break;
			if(op.equals("+"))
				ans = a + b;
			else if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b;
		System.out.println(ans);
	} {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if(op.equals("?"))
				break;
			if(op.equals("+"))
				ans = a + b;
			else if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b;
		System.out.println(ans);
	} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String op = scan.next(); op scan.next() scan.next scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if(op.equals("?"))
				break; op.equals("?") op.equals op "?" break; if(op.equals("+"))
				ans = a + b;
			else if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b; op.equals("+") op.equals op "+" ans = a + b ans a + b a b if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b; op.equals("-") op.equals op "-" ans = a - b ans a - b a b if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b; op.equals("*") op.equals op "*" ans = a * b ans a * b a b if(op.equals("/"))
				ans = a / b; op.equals("/") op.equals op "/" 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 scan = new Scanner(System.in);
		int ans;
		ans = 0;
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if(op.equals("?"))
				break;
			if(op.equals("+"))
				ans = a + b;
			else if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b;
		System.out.println(ans);
	}
	}
	} public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int ans;
		ans = 0;
		for(;;){
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();
			if(op.equals("?"))
				break;
			if(op.equals("+"))
				ans = a + b;
			else if(op.equals("-"))
				ans = a - b;
			else if(op.equals("*"))
				ans = a * b;
			else if(op.equals("/"))
				ans = a / b;
		System.out.println(ans);
	}
	}
	} Main
import java.util.Scanner;

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