
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

public class Main {

	public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String inputData;
        List<Integer> resultList = new ArrayList<Integer>();
        try {

	        while(true){
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        }
	        for(Integer val: resultList){
	        	System.out.println(val);
	        }

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}
	/**
	 * ?????????????????????
	 * @param a
	 * @param b
	 * @param op
	 * @return result
	 */
	private static Integer outputCalc(int a , int b , String op){

		int result = 0;
		if("+".equals(op)){
			result = a + b;
		}else if("-".equals(op)){
			result = a - b;
		}else if("*".equals(op)){
			result = a * b;
		}else if("/".equals(op)){
			result = a / b;
		}
		return result;
	}


} 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 import java.util.List; List java.util public class Main {

	public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String inputData;
        List<Integer> resultList = new ArrayList<Integer>();
        try {

	        while(true){
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        }
	        for(Integer val: resultList){
	        	System.out.println(val);
	        }

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}
	/**
	 * ?????????????????????
	 * @param a
	 * @param b
	 * @param op
	 * @return result
	 */
	private static Integer outputCalc(int a , int b , String op){

		int result = 0;
		if("+".equals(op)){
			result = a + b;
		}else if("-".equals(op)){
			result = a - b;
		}else if("*".equals(op)){
			result = a * b;
		}else if("/".equals(op)){
			result = a / b;
		}
		return result;
	}


} Main public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String inputData;
        List<Integer> resultList = new ArrayList<Integer>();
        try {

	        while(true){
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        }
	        for(Integer val: resultList){
	        	System.out.println(val);
	        }

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	} main {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String inputData;
        List<Integer> resultList = new ArrayList<Integer>();
        try {

	        while(true){
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        }
	        for(Integer val: resultList){
	        	System.out.println(val);
	        }

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	} BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) String inputData; inputData List<Integer> resultList = new ArrayList<Integer>(); resultList new ArrayList<Integer>() try {

	        while(true){
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        }
	        for(Integer val: resultList){
	        	System.out.println(val);
	        }

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} IOException e {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {

	        while(true){
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        }
	        for(Integer val: resultList){
	        	System.out.println(val);
	        }

		} while(true){
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        } true {
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        } inputData = reader.readLine() inputData reader.readLine() reader.readLine reader if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            } inputData.indexOf(" ? ") > 0 inputData.indexOf(" ? ") inputData.indexOf inputData " ? " 0 {
	            	break;
	            } break; {
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            } String[] strNumber = inputData.split(" "); strNumber inputData.split(" ") inputData.split inputData " " int a = Integer.parseInt(strNumber[0]); a Integer.parseInt(strNumber[0]) Integer.parseInt Integer strNumber[0] strNumber 0 String op = strNumber[1]; op strNumber[1] strNumber 1 int b = Integer.parseInt(strNumber[2]); b Integer.parseInt(strNumber[2]) Integer.parseInt Integer strNumber[2] strNumber 2 resultList.add(outputCalc(a , b, op)) resultList.add resultList outputCalc(a , b, op) outputCalc a b op for(Integer val: resultList){
	        	System.out.println(val);
	        } Integer val resultList {
	        	System.out.println(val);
	        } {
	        	System.out.println(val);
	        } System.out.println(val) System.out.println System.out System System.out val String[] args args /**
	 * ?????????????????????
	 * @param a
	 * @param b
	 * @param op
	 * @return result
	 */
	private static Integer outputCalc(int a , int b , String op){

		int result = 0;
		if("+".equals(op)){
			result = a + b;
		}else if("-".equals(op)){
			result = a - b;
		}else if("*".equals(op)){
			result = a * b;
		}else if("/".equals(op)){
			result = a / b;
		}
		return result;
	} outputCalc {

		int result = 0;
		if("+".equals(op)){
			result = a + b;
		}else if("-".equals(op)){
			result = a - b;
		}else if("*".equals(op)){
			result = a * b;
		}else if("/".equals(op)){
			result = a / b;
		}
		return result;
	} int result = 0; result 0 if("+".equals(op)){
			result = a + b;
		}else if("-".equals(op)){
			result = a - b;
		}else if("*".equals(op)){
			result = a * b;
		}else if("/".equals(op)){
			result = a / b;
		} "+".equals(op) "+".equals "+" op {
			result = a + b;
		} result = a + b result a + b a b if("-".equals(op)){
			result = a - b;
		}else if("*".equals(op)){
			result = a * b;
		}else if("/".equals(op)){
			result = a / b;
		} "-".equals(op) "-".equals "-" op {
			result = a - b;
		} result = a - b result a - b a b if("*".equals(op)){
			result = a * b;
		}else if("/".equals(op)){
			result = a / b;
		} "*".equals(op) "*".equals "*" op {
			result = a * b;
		} result = a * b result a * b a b if("/".equals(op)){
			result = a / b;
		} "/".equals(op) "/".equals "/" op {
			result = a / b;
		} result = a / b result a / b a b return result; result int a a int b b String op op public class Main {

	public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String inputData;
        List<Integer> resultList = new ArrayList<Integer>();
        try {

	        while(true){
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        }
	        for(Integer val: resultList){
	        	System.out.println(val);
	        }

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}
	/**
	 * ?????????????????????
	 * @param a
	 * @param b
	 * @param op
	 * @return result
	 */
	private static Integer outputCalc(int a , int b , String op){

		int result = 0;
		if("+".equals(op)){
			result = a + b;
		}else if("-".equals(op)){
			result = a - b;
		}else if("*".equals(op)){
			result = a * b;
		}else if("/".equals(op)){
			result = a / b;
		}
		return result;
	}


} public class Main {

	public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String inputData;
        List<Integer> resultList = new ArrayList<Integer>();
        try {

	        while(true){
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        }
	        for(Integer val: resultList){
	        	System.out.println(val);
	        }

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}
	/**
	 * ?????????????????????
	 * @param a
	 * @param b
	 * @param op
	 * @return result
	 */
	private static Integer outputCalc(int a , int b , String op){

		int result = 0;
		if("+".equals(op)){
			result = a + b;
		}else if("-".equals(op)){
			result = a - b;
		}else if("*".equals(op)){
			result = a * b;
		}else if("/".equals(op)){
			result = a / b;
		}
		return result;
	}


} Main

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

public class Main {

	public static void main(String[] args) {

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String inputData;
        List<Integer> resultList = new ArrayList<Integer>();
        try {

	        while(true){
					inputData = reader.readLine();
	            if(inputData.indexOf(" ? ") > 0){
	            	break;
	            }else{
					String[] strNumber = inputData.split(" ");
					int a = Integer.parseInt(strNumber[0]);
					String op = strNumber[1];
					int b = Integer.parseInt(strNumber[2]);

					resultList.add(outputCalc(a , b, op));

	            }
	        }
	        for(Integer val: resultList){
	        	System.out.println(val);
	        }

		} catch (IOException e) {
			// TODO ????????????????????? catch ????????????
			e.printStackTrace();
		}

	}
	/**
	 * ?????????????????????
	 * @param a
	 * @param b
	 * @param op
	 * @return result
	 */
	private static Integer outputCalc(int a , int b , String op){

		int result = 0;
		if("+".equals(op)){
			result = a + b;
		}else if("-".equals(op)){
			result = a - b;
		}else if("*".equals(op)){
			result = a * b;
		}else if("/".equals(op)){
			result = a / b;
		}
		return result;
	}


}