import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		while(true){
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[2]);
			if( line[1].equals("?") ){
				break;
			}else if( line[1].equals("+") ){
				sb.append((a + b)+"\n");
			}else if( line[1].equals("-") ){
				sb.append((a - b)+"\n");
			}else if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			}
		}
		System.out.print(sb);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		while(true){
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[2]);
			if( line[1].equals("?") ){
				break;
			}else if( line[1].equals("+") ){
				sb.append((a + b)+"\n");
			}else if( line[1].equals("-") ){
				sb.append((a - b)+"\n");
			}else if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			}
		}
		System.out.print(sb);
	}
} Main public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		while(true){
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[2]);
			if( line[1].equals("?") ){
				break;
			}else if( line[1].equals("+") ){
				sb.append((a + b)+"\n");
			}else if( line[1].equals("-") ){
				sb.append((a - b)+"\n");
			}else if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			}
		}
		System.out.print(sb);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		while(true){
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[2]);
			if( line[1].equals("?") ){
				break;
			}else if( line[1].equals("+") ){
				sb.append((a + b)+"\n");
			}else if( line[1].equals("-") ){
				sb.append((a - b)+"\n");
			}else if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			}
		}
		System.out.print(sb);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringBuilder sb = new StringBuilder(); sb new StringBuilder() while(true){
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[2]);
			if( line[1].equals("?") ){
				break;
			}else if( line[1].equals("+") ){
				sb.append((a + b)+"\n");
			}else if( line[1].equals("-") ){
				sb.append((a - b)+"\n");
			}else if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			}
		} true {
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[2]);
			if( line[1].equals("?") ){
				break;
			}else if( line[1].equals("+") ){
				sb.append((a + b)+"\n");
			}else if( line[1].equals("-") ){
				sb.append((a - b)+"\n");
			}else if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			}
		} String[] line = br.readLine().split(" "); line br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(line[0]); a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 int b = Integer.parseInt(line[2]); b Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 if( line[1].equals("?") ){
				break;
			}else if( line[1].equals("+") ){
				sb.append((a + b)+"\n");
			}else if( line[1].equals("-") ){
				sb.append((a - b)+"\n");
			}else if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			} line[1].equals("?") line[1].equals line[1] line 1 "?" {
				break;
			} break; if( line[1].equals("+") ){
				sb.append((a + b)+"\n");
			}else if( line[1].equals("-") ){
				sb.append((a - b)+"\n");
			}else if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			} line[1].equals("+") line[1].equals line[1] line 1 "+" {
				sb.append((a + b)+"\n");
			} sb.append((a + b)+"\n") sb.append sb (a + b)+"\n" (a + b) a b "\n" if( line[1].equals("-") ){
				sb.append((a - b)+"\n");
			}else if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			} line[1].equals("-") line[1].equals line[1] line 1 "-" {
				sb.append((a - b)+"\n");
			} sb.append((a - b)+"\n") sb.append sb (a - b)+"\n" (a - b) a b "\n" if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			} line[1].equals("*") line[1].equals line[1] line 1 "*" {
				sb.append((a * b)+"\n");
			} sb.append((a * b)+"\n") sb.append sb (a * b)+"\n" (a * b) a b "\n" if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			} line[1].equals("/") line[1].equals line[1] line 1 "/" {
				sb.append((a / b)+"\n");
			} sb.append((a / b)+"\n") sb.append sb (a / b)+"\n" (a / b) a b "\n" if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			} line[1].equals("%") line[1].equals line[1] line 1 "%" {
				sb.append((a % b)+"\n");
			} sb.append((a % b)+"\n") sb.append sb (a % b)+"\n" (a % b) a b "\n" System.out.print(sb) System.out.print System.out System System.out sb String[] args args
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		while(true){
			String[] line = br.readLine().split(" ");
			int a = Integer.parseInt(line[0]);
			int b = Integer.parseInt(line[2]);
			if( line[1].equals("?") ){
				break;
			}else if( line[1].equals("+") ){
				sb.append((a + b)+"\n");
			}else if( line[1].equals("-") ){
				sb.append((a - b)+"\n");
			}else if( line[1].equals("*") ){
				sb.append((a * b)+"\n");
			}else if( line[1].equals("/") ){
				sb.append((a / b)+"\n");
			}else if( line[1].equals("%") ){
				sb.append((a % b)+"\n");
			}
		}
		System.out.print(sb);
	}
}