import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;
import java.util.ArrayList;


class Main {
	public static void main(String[] args) throws IOException {
		DecimalFormat df1 = new DecimalFormat("0.000000");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> ss = new ArrayList<String>();
		while(true){
			String s = new String(in.readLine());
			if(s.split(" ")[1].equals("?")){
				break;
			}
			ss.add(s);
		}
		for(String s :ss){
			String[] sss = s.split(" ");
			int a = Integer.parseInt(sss[0]);
			int b = Integer.parseInt(sss[2]);
			if(sss[1].equals("+")){
				System.out.println(a+b);
			}
			else if(sss[1].equals("-")){
				System.out.println(a-b);
			}
			else if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			}
		}
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.text.DecimalFormat; DecimalFormat java.text import java.util.ArrayList; ArrayList java.util class Main {
	public static void main(String[] args) throws IOException {
		DecimalFormat df1 = new DecimalFormat("0.000000");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> ss = new ArrayList<String>();
		while(true){
			String s = new String(in.readLine());
			if(s.split(" ")[1].equals("?")){
				break;
			}
			ss.add(s);
		}
		for(String s :ss){
			String[] sss = s.split(" ");
			int a = Integer.parseInt(sss[0]);
			int b = Integer.parseInt(sss[2]);
			if(sss[1].equals("+")){
				System.out.println(a+b);
			}
			else if(sss[1].equals("-")){
				System.out.println(a-b);
			}
			else if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			}
		}
	}

} Main public static void main(String[] args) throws IOException {
		DecimalFormat df1 = new DecimalFormat("0.000000");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> ss = new ArrayList<String>();
		while(true){
			String s = new String(in.readLine());
			if(s.split(" ")[1].equals("?")){
				break;
			}
			ss.add(s);
		}
		for(String s :ss){
			String[] sss = s.split(" ");
			int a = Integer.parseInt(sss[0]);
			int b = Integer.parseInt(sss[2]);
			if(sss[1].equals("+")){
				System.out.println(a+b);
			}
			else if(sss[1].equals("-")){
				System.out.println(a-b);
			}
			else if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			}
		}
	} main {
		DecimalFormat df1 = new DecimalFormat("0.000000");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> ss = new ArrayList<String>();
		while(true){
			String s = new String(in.readLine());
			if(s.split(" ")[1].equals("?")){
				break;
			}
			ss.add(s);
		}
		for(String s :ss){
			String[] sss = s.split(" ");
			int a = Integer.parseInt(sss[0]);
			int b = Integer.parseInt(sss[2]);
			if(sss[1].equals("+")){
				System.out.println(a+b);
			}
			else if(sss[1].equals("-")){
				System.out.println(a-b);
			}
			else if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			}
		}
	} DecimalFormat df1 = new DecimalFormat("0.000000"); df1 new DecimalFormat("0.000000") BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) ArrayList<String> ss = new ArrayList<String>(); ss new ArrayList<String>() while(true){
			String s = new String(in.readLine());
			if(s.split(" ")[1].equals("?")){
				break;
			}
			ss.add(s);
		} true {
			String s = new String(in.readLine());
			if(s.split(" ")[1].equals("?")){
				break;
			}
			ss.add(s);
		} String s = new String(in.readLine()); s new String(in.readLine()) if(s.split(" ")[1].equals("?")){
				break;
			} s.split(" ")[1].equals("?") s.split(" ")[1].equals s.split(" ")[1] s.split(" ") s.split s " " 1 "?" {
				break;
			} break; ss.add(s) ss.add ss s for(String s :ss){
			String[] sss = s.split(" ");
			int a = Integer.parseInt(sss[0]);
			int b = Integer.parseInt(sss[2]);
			if(sss[1].equals("+")){
				System.out.println(a+b);
			}
			else if(sss[1].equals("-")){
				System.out.println(a-b);
			}
			else if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			}
		} String s ss {
			String[] sss = s.split(" ");
			int a = Integer.parseInt(sss[0]);
			int b = Integer.parseInt(sss[2]);
			if(sss[1].equals("+")){
				System.out.println(a+b);
			}
			else if(sss[1].equals("-")){
				System.out.println(a-b);
			}
			else if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			}
		} {
			String[] sss = s.split(" ");
			int a = Integer.parseInt(sss[0]);
			int b = Integer.parseInt(sss[2]);
			if(sss[1].equals("+")){
				System.out.println(a+b);
			}
			else if(sss[1].equals("-")){
				System.out.println(a-b);
			}
			else if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			}
		} String[] sss = s.split(" "); sss s.split(" ") s.split s " " int a = Integer.parseInt(sss[0]); a Integer.parseInt(sss[0]) Integer.parseInt Integer sss[0] sss 0 int b = Integer.parseInt(sss[2]); b Integer.parseInt(sss[2]) Integer.parseInt Integer sss[2] sss 2 if(sss[1].equals("+")){
				System.out.println(a+b);
			}
			else if(sss[1].equals("-")){
				System.out.println(a-b);
			}
			else if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			} sss[1].equals("+") sss[1].equals sss[1] sss 1 "+" {
				System.out.println(a+b);
			} System.out.println(a+b) System.out.println System.out System System.out a+b a b if(sss[1].equals("-")){
				System.out.println(a-b);
			}
			else if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			} sss[1].equals("-") sss[1].equals sss[1] sss 1 "-" {
				System.out.println(a-b);
			} System.out.println(a-b) System.out.println System.out System System.out a-b a b if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			} sss[1].equals("*") sss[1].equals sss[1] sss 1 "*" {
				System.out.println(a*b);
			} System.out.println(a*b) System.out.println System.out System System.out a*b a b {
				System.out.println(a/b);
			} System.out.println(a/b) System.out.println System.out System System.out a/b a b String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.text.DecimalFormat;
import java.util.ArrayList;


class Main {
	public static void main(String[] args) throws IOException {
		DecimalFormat df1 = new DecimalFormat("0.000000");
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> ss = new ArrayList<String>();
		while(true){
			String s = new String(in.readLine());
			if(s.split(" ")[1].equals("?")){
				break;
			}
			ss.add(s);
		}
		for(String s :ss){
			String[] sss = s.split(" ");
			int a = Integer.parseInt(sss[0]);
			int b = Integer.parseInt(sss[2]);
			if(sss[1].equals("+")){
				System.out.println(a+b);
			}
			else if(sss[1].equals("-")){
				System.out.println(a-b);
			}
			else if(sss[1].equals("*")){
				System.out.println(a*b);
			}
			else {
				System.out.println(a/b);
			}
		}
	}

}