import java.util.Scanner;

public class Main {

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

		int i=0;
		while(i<1000){
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[2]);
		String c = array[1];

		int result = 0;

		if (c.equals("?")) {
			break;
		} else if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		}
		System.out.println(result);
		i++;
		}
	}

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

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

		int i=0;
		while(i<1000){
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[2]);
		String c = array[1];

		int result = 0;

		if (c.equals("?")) {
			break;
		} else if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		}
		System.out.println(result);
		i++;
		}
	}

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

		int i=0;
		while(i<1000){
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[2]);
		String c = array[1];

		int result = 0;

		if (c.equals("?")) {
			break;
		} else if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		}
		System.out.println(result);
		i++;
		}
	} main {
		Scanner sc = new Scanner(System.in);

		int i=0;
		while(i<1000){
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[2]);
		String c = array[1];

		int result = 0;

		if (c.equals("?")) {
			break;
		} else if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		}
		System.out.println(result);
		i++;
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int i=0; i 0 while(i<1000){
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[2]);
		String c = array[1];

		int result = 0;

		if (c.equals("?")) {
			break;
		} else if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		}
		System.out.println(result);
		i++;
		} i<1000 i 1000 {
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[2]);
		String c = array[1];

		int result = 0;

		if (c.equals("?")) {
			break;
		} else if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		}
		System.out.println(result);
		i++;
		} String line = sc.nextLine(); line sc.nextLine() sc.nextLine sc String[] array = line.split(" "); array line.split(" ") line.split line " " int a = Integer.parseInt(array[0]); a Integer.parseInt(array[0]) Integer.parseInt Integer array[0] array 0 int b = Integer.parseInt(array[2]); b Integer.parseInt(array[2]) Integer.parseInt Integer array[2] array 2 String c = array[1]; c array[1] array 1 int result = 0; result 0 if (c.equals("?")) {
			break;
		} else if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		} c.equals("?") c.equals c "?" {
			break;
		} break; if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		} c.equals("+") c.equals c "+" {
			result = a + b;
		} result = a + b result a + b a b if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		} c.equals("-") c.equals c "-" {
			result = a - b;
		} result = a - b result a - b a b if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		} c.equals("*") c.equals c "*" {
			result = a * b;
		} result = a * b result a * b a b if (c.equals("/")) {
			result = a / b;
		} c.equals("/") c.equals c "/" {
			result = a / b;
		} result = a / b result a / b a b System.out.println(result) System.out.println System.out System System.out result i++ i String[] args args public class Main {

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

		int i=0;
		while(i<1000){
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[2]);
		String c = array[1];

		int result = 0;

		if (c.equals("?")) {
			break;
		} else if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		}
		System.out.println(result);
		i++;
		}
	}

} public class Main {

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

		int i=0;
		while(i<1000){
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[2]);
		String c = array[1];

		int result = 0;

		if (c.equals("?")) {
			break;
		} else if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		}
		System.out.println(result);
		i++;
		}
	}

} Main
import java.util.Scanner;

public class Main {

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

		int i=0;
		while(i<1000){
		String line = sc.nextLine();
		String[] array = line.split(" ");
		int a = Integer.parseInt(array[0]);
		int b = Integer.parseInt(array[2]);
		String c = array[1];

		int result = 0;

		if (c.equals("?")) {
			break;
		} else if (c.equals("+")) {
			result = a + b;
		} else if (c.equals("-")) {
			result = a - b;
		} else if (c.equals("*")) {
			result = a * b;
		} else if (c.equals("/")) {
			result = a / b;
		}
		System.out.println(result);
		i++;
		}
	}

}