import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int intA;
		String strCulc = "";
		int intB;
		ArrayList<Integer> list = new ArrayList<Integer>();
		while(true){
			intA = scan.nextInt();
			strCulc = scan.next();
			intB = scan.nextInt();
			if("+".equals(strCulc)){
				list.add(intA + intB);
			}else if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			}
		}
		for(int i = 0; i < list.size(); i++){
			System.out.println(list.get(i));
		}
		scan.close();
	}
} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int intA;
		String strCulc = "";
		int intB;
		ArrayList<Integer> list = new ArrayList<Integer>();
		while(true){
			intA = scan.nextInt();
			strCulc = scan.next();
			intB = scan.nextInt();
			if("+".equals(strCulc)){
				list.add(intA + intB);
			}else if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			}
		}
		for(int i = 0; i < list.size(); i++){
			System.out.println(list.get(i));
		}
		scan.close();
	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int intA;
		String strCulc = "";
		int intB;
		ArrayList<Integer> list = new ArrayList<Integer>();
		while(true){
			intA = scan.nextInt();
			strCulc = scan.next();
			intB = scan.nextInt();
			if("+".equals(strCulc)){
				list.add(intA + intB);
			}else if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			}
		}
		for(int i = 0; i < list.size(); i++){
			System.out.println(list.get(i));
		}
		scan.close();
	} main {
		Scanner scan = new Scanner(System.in);
		int intA;
		String strCulc = "";
		int intB;
		ArrayList<Integer> list = new ArrayList<Integer>();
		while(true){
			intA = scan.nextInt();
			strCulc = scan.next();
			intB = scan.nextInt();
			if("+".equals(strCulc)){
				list.add(intA + intB);
			}else if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			}
		}
		for(int i = 0; i < list.size(); i++){
			System.out.println(list.get(i));
		}
		scan.close();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int intA; intA String strCulc = ""; strCulc "" int intB; intB ArrayList<Integer> list = new ArrayList<Integer>(); list new ArrayList<Integer>() while(true){
			intA = scan.nextInt();
			strCulc = scan.next();
			intB = scan.nextInt();
			if("+".equals(strCulc)){
				list.add(intA + intB);
			}else if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			}
		} true {
			intA = scan.nextInt();
			strCulc = scan.next();
			intB = scan.nextInt();
			if("+".equals(strCulc)){
				list.add(intA + intB);
			}else if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			}
		} intA = scan.nextInt() intA scan.nextInt() scan.nextInt scan strCulc = scan.next() strCulc scan.next() scan.next scan intB = scan.nextInt() intB scan.nextInt() scan.nextInt scan if("+".equals(strCulc)){
				list.add(intA + intB);
			}else if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			} "+".equals(strCulc) "+".equals "+" strCulc {
				list.add(intA + intB);
			} list.add(intA + intB) list.add list intA + intB intA intB if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			} "-".equals(strCulc) "-".equals "-" strCulc {
				list.add(intA - intB);
			} list.add(intA - intB) list.add list intA - intB intA intB if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			} "*".equals(strCulc) "*".equals "*" strCulc {
				list.add(intA * intB);
			} list.add(intA * intB) list.add list intA * intB intA intB if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			} "/".equals(strCulc) "/".equals "/" strCulc {
				list.add(intA / intB);
			} list.add(intA / intB) list.add list intA / intB intA intB if("?".equals(strCulc)){
				break;
			} "?".equals(strCulc) "?".equals "?" strCulc {
				break;
			} break; for(int i = 0; i < list.size(); i++){
			System.out.println(list.get(i));
		} int i = 0; int i = 0; i 0 i < list.size() i list.size() list.size list i++ i++ i {
			System.out.println(list.get(i));
		} {
			System.out.println(list.get(i));
		} System.out.println(list.get(i)) System.out.println System.out System System.out list.get(i) list.get list i scan.close() scan.close scan String[] args args public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int intA;
		String strCulc = "";
		int intB;
		ArrayList<Integer> list = new ArrayList<Integer>();
		while(true){
			intA = scan.nextInt();
			strCulc = scan.next();
			intB = scan.nextInt();
			if("+".equals(strCulc)){
				list.add(intA + intB);
			}else if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			}
		}
		for(int i = 0; i < list.size(); i++){
			System.out.println(list.get(i));
		}
		scan.close();
	}
} public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int intA;
		String strCulc = "";
		int intB;
		ArrayList<Integer> list = new ArrayList<Integer>();
		while(true){
			intA = scan.nextInt();
			strCulc = scan.next();
			intB = scan.nextInt();
			if("+".equals(strCulc)){
				list.add(intA + intB);
			}else if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			}
		}
		for(int i = 0; i < list.size(); i++){
			System.out.println(list.get(i));
		}
		scan.close();
	}
} Main
import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		int intA;
		String strCulc = "";
		int intB;
		ArrayList<Integer> list = new ArrayList<Integer>();
		while(true){
			intA = scan.nextInt();
			strCulc = scan.next();
			intB = scan.nextInt();
			if("+".equals(strCulc)){
				list.add(intA + intB);
			}else if("-".equals(strCulc)){
				list.add(intA - intB);
			}else if("*".equals(strCulc)){
				list.add(intA * intB);
			}else if("/".equals(strCulc)){
				list.add(intA / intB);
			}else if("?".equals(strCulc)){
				break;
			}
		}
		for(int i = 0; i < list.size(); i++){
			System.out.println(list.get(i));
		}
		scan.close();
	}
}