import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

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

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