import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> list = new ArrayList<String>();
		int ans = 0;
		while (true){
			String str = br.readLine();
			if (str.indexOf("?") != -1) break;
			list.add(str);
		}
		for (int i = 0 ;i < list.size() ; i++){
			String[] stra = list.get(i).split(" ");
			int a = Integer.parseInt(stra[0]);
			String op = stra[1];
			int b = Integer.parseInt(stra[2]);
			if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			}
			System.out.println(ans);
		}
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> list = new ArrayList<String>();
		int ans = 0;
		while (true){
			String str = br.readLine();
			if (str.indexOf("?") != -1) break;
			list.add(str);
		}
		for (int i = 0 ;i < list.size() ; i++){
			String[] stra = list.get(i).split(" ");
			int a = Integer.parseInt(stra[0]);
			String op = stra[1];
			int b = Integer.parseInt(stra[2]);
			if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			}
			System.out.println(ans);
		}
	}

} Main public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> list = new ArrayList<String>();
		int ans = 0;
		while (true){
			String str = br.readLine();
			if (str.indexOf("?") != -1) break;
			list.add(str);
		}
		for (int i = 0 ;i < list.size() ; i++){
			String[] stra = list.get(i).split(" ");
			int a = Integer.parseInt(stra[0]);
			String op = stra[1];
			int b = Integer.parseInt(stra[2]);
			if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			}
			System.out.println(ans);
		}
	} main {
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> list = new ArrayList<String>();
		int ans = 0;
		while (true){
			String str = br.readLine();
			if (str.indexOf("?") != -1) break;
			list.add(str);
		}
		for (int i = 0 ;i < list.size() ; i++){
			String[] stra = list.get(i).split(" ");
			int a = Integer.parseInt(stra[0]);
			String op = stra[1];
			int b = Integer.parseInt(stra[2]);
			if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			}
			System.out.println(ans);
		}
	} BufferedReader br =new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) ArrayList<String> list = new ArrayList<String>(); list new ArrayList<String>() int ans = 0; ans 0 while (true){
			String str = br.readLine();
			if (str.indexOf("?") != -1) break;
			list.add(str);
		} true {
			String str = br.readLine();
			if (str.indexOf("?") != -1) break;
			list.add(str);
		} String str = br.readLine(); str br.readLine() br.readLine br if (str.indexOf("?") != -1) break; str.indexOf("?") != -1 str.indexOf("?") str.indexOf str "?" -1 1 break; list.add(str) list.add list str for (int i = 0 ;i < list.size() ; i++){
			String[] stra = list.get(i).split(" ");
			int a = Integer.parseInt(stra[0]);
			String op = stra[1];
			int b = Integer.parseInt(stra[2]);
			if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			}
			System.out.println(ans);
		} int i = 0 ; int i = 0 ; i 0 i < list.size() i list.size() list.size list i++ i++ i {
			String[] stra = list.get(i).split(" ");
			int a = Integer.parseInt(stra[0]);
			String op = stra[1];
			int b = Integer.parseInt(stra[2]);
			if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			}
			System.out.println(ans);
		} {
			String[] stra = list.get(i).split(" ");
			int a = Integer.parseInt(stra[0]);
			String op = stra[1];
			int b = Integer.parseInt(stra[2]);
			if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			}
			System.out.println(ans);
		} String[] stra = list.get(i).split(" "); stra list.get(i).split(" ") list.get(i).split list.get(i) list.get list i " " int a = Integer.parseInt(stra[0]); a Integer.parseInt(stra[0]) Integer.parseInt Integer stra[0] stra 0 String op = stra[1]; op stra[1] stra 1 int b = Integer.parseInt(stra[2]); b Integer.parseInt(stra[2]) Integer.parseInt Integer stra[2] stra 2 if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			} "+".equals(op) "+".equals "+" op {
				ans = a+b;
			} ans = a+b ans a+b a b if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			} "-".equals(op) "-".equals "-" op {
				ans = a-b;
			} ans = a-b ans a-b a b if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			} "*".equals(op) "*".equals "*" op {
				ans = a*b;
			} ans = a*b ans a*b a b if ("/".equals(op)){
				ans = a/b;
			} "/".equals(op) "/".equals "/" op {
				ans = a/b;
			} ans = a/b ans a/b a b System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> list = new ArrayList<String>();
		int ans = 0;
		while (true){
			String str = br.readLine();
			if (str.indexOf("?") != -1) break;
			list.add(str);
		}
		for (int i = 0 ;i < list.size() ; i++){
			String[] stra = list.get(i).split(" ");
			int a = Integer.parseInt(stra[0]);
			String op = stra[1];
			int b = Integer.parseInt(stra[2]);
			if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			}
			System.out.println(ans);
		}
	}

} public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> list = new ArrayList<String>();
		int ans = 0;
		while (true){
			String str = br.readLine();
			if (str.indexOf("?") != -1) break;
			list.add(str);
		}
		for (int i = 0 ;i < list.size() ; i++){
			String[] stra = list.get(i).split(" ");
			int a = Integer.parseInt(stra[0]);
			String op = stra[1];
			int b = Integer.parseInt(stra[2]);
			if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			}
			System.out.println(ans);
		}
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
		ArrayList<String> list = new ArrayList<String>();
		int ans = 0;
		while (true){
			String str = br.readLine();
			if (str.indexOf("?") != -1) break;
			list.add(str);
		}
		for (int i = 0 ;i < list.size() ; i++){
			String[] stra = list.get(i).split(" ");
			int a = Integer.parseInt(stra[0]);
			String op = stra[1];
			int b = Integer.parseInt(stra[2]);
			if("+".equals(op)){
				ans = a+b;
			}else if("-".equals(op)){
				ans = a-b;
			}else if("*".equals(op)){
				ans = a*b;
			}else if ("/".equals(op)){
				ans = a/b;
			}
			System.out.println(ans);
		}
	}

}