import java.io.*;
import java.util.Arrays;
class Main{
	public static void main(String[] args) throws IOException {
		int[] n = new int[5];
		String[] str = new String[5];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		for(;;){
			str = in.readLine().split(" ");
			n[0] = Integer.parseInt(str[0]); 
			String op = str[1];
			n[2] = Integer.parseInt(str[2]);
			if("?".equals(op)) break;
			switch(str[1]){
				case "+": n[3]=n[0]+n[2]; break;
				case "-": n[3]=n[0]-n[2]; break;
				case "*": n[3]=n[0]*n[2]; break;
				case "/": n[3]=n[0]/n[2]; break;
			}
			System.out.println(n[3]);
		}
	}
} import java.io.*; io.* java import java.util.Arrays; Arrays java.util class Main{
	public static void main(String[] args) throws IOException {
		int[] n = new int[5];
		String[] str = new String[5];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		for(;;){
			str = in.readLine().split(" ");
			n[0] = Integer.parseInt(str[0]); 
			String op = str[1];
			n[2] = Integer.parseInt(str[2]);
			if("?".equals(op)) break;
			switch(str[1]){
				case "+": n[3]=n[0]+n[2]; break;
				case "-": n[3]=n[0]-n[2]; break;
				case "*": n[3]=n[0]*n[2]; break;
				case "/": n[3]=n[0]/n[2]; break;
			}
			System.out.println(n[3]);
		}
	}
} Main public static void main(String[] args) throws IOException {
		int[] n = new int[5];
		String[] str = new String[5];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		for(;;){
			str = in.readLine().split(" ");
			n[0] = Integer.parseInt(str[0]); 
			String op = str[1];
			n[2] = Integer.parseInt(str[2]);
			if("?".equals(op)) break;
			switch(str[1]){
				case "+": n[3]=n[0]+n[2]; break;
				case "-": n[3]=n[0]-n[2]; break;
				case "*": n[3]=n[0]*n[2]; break;
				case "/": n[3]=n[0]/n[2]; break;
			}
			System.out.println(n[3]);
		}
	} main {
		int[] n = new int[5];
		String[] str = new String[5];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		for(;;){
			str = in.readLine().split(" ");
			n[0] = Integer.parseInt(str[0]); 
			String op = str[1];
			n[2] = Integer.parseInt(str[2]);
			if("?".equals(op)) break;
			switch(str[1]){
				case "+": n[3]=n[0]+n[2]; break;
				case "-": n[3]=n[0]-n[2]; break;
				case "*": n[3]=n[0]*n[2]; break;
				case "/": n[3]=n[0]/n[2]; break;
			}
			System.out.println(n[3]);
		}
	} int[] n = new int[5]; n new int[5] 5 String[] str = new String[5]; str new String[5] 5 BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) for(;;){
			str = in.readLine().split(" ");
			n[0] = Integer.parseInt(str[0]); 
			String op = str[1];
			n[2] = Integer.parseInt(str[2]);
			if("?".equals(op)) break;
			switch(str[1]){
				case "+": n[3]=n[0]+n[2]; break;
				case "-": n[3]=n[0]-n[2]; break;
				case "*": n[3]=n[0]*n[2]; break;
				case "/": n[3]=n[0]/n[2]; break;
			}
			System.out.println(n[3]);
		} ; {
			str = in.readLine().split(" ");
			n[0] = Integer.parseInt(str[0]); 
			String op = str[1];
			n[2] = Integer.parseInt(str[2]);
			if("?".equals(op)) break;
			switch(str[1]){
				case "+": n[3]=n[0]+n[2]; break;
				case "-": n[3]=n[0]-n[2]; break;
				case "*": n[3]=n[0]*n[2]; break;
				case "/": n[3]=n[0]/n[2]; break;
			}
			System.out.println(n[3]);
		} {
			str = in.readLine().split(" ");
			n[0] = Integer.parseInt(str[0]); 
			String op = str[1];
			n[2] = Integer.parseInt(str[2]);
			if("?".equals(op)) break;
			switch(str[1]){
				case "+": n[3]=n[0]+n[2]; break;
				case "-": n[3]=n[0]-n[2]; break;
				case "*": n[3]=n[0]*n[2]; break;
				case "/": n[3]=n[0]/n[2]; break;
			}
			System.out.println(n[3]);
		} str = in.readLine().split(" ") str in.readLine().split(" ") in.readLine().split in.readLine() in.readLine in " " n[0] = Integer.parseInt(str[0]) n[0] n 0 Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 String op = str[1]; op str[1] str 1 n[2] = Integer.parseInt(str[2]) n[2] n 2 Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 if("?".equals(op)) break; "?".equals(op) "?".equals "?" op break; switch(str[1]){
				case "+": n[3]=n[0]+n[2]; break;
				case "-": n[3]=n[0]-n[2]; break;
				case "*": n[3]=n[0]*n[2]; break;
				case "/": n[3]=n[0]/n[2]; break;
			} str[1] str 1 case "+": "+" case "+": n[3]=n[0]+n[2] n[3] n 3 n[0]+n[2] n[0] n 0 n[2] n 2 break; case "-": "-" case "-": n[3]=n[0]-n[2] n[3] n 3 n[0]-n[2] n[0] n 0 n[2] n 2 break; case "*": "*" case "*": n[3]=n[0]*n[2] n[3] n 3 n[0]*n[2] n[0] n 0 n[2] n 2 break; case "/": "/" case "/": n[3]=n[0]/n[2] n[3] n 3 n[0]/n[2] n[0] n 0 n[2] n 2 break; System.out.println(n[3]) System.out.println System.out System System.out n[3] n 3 String[] args args
import java.io.*;
import java.util.Arrays;
class Main{
	public static void main(String[] args) throws IOException {
		int[] n = new int[5];
		String[] str = new String[5];
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		for(;;){
			str = in.readLine().split(" ");
			n[0] = Integer.parseInt(str[0]); 
			String op = str[1];
			n[2] = Integer.parseInt(str[2]);
			if("?".equals(op)) break;
			switch(str[1]){
				case "+": n[3]=n[0]+n[2]; break;
				case "-": n[3]=n[0]-n[2]; break;
				case "*": n[3]=n[0]*n[2]; break;
				case "/": n[3]=n[0]/n[2]; break;
			}
			System.out.println(n[3]);
		}
	}
}