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