import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    while (true) {
		    String line = br.readLine();
		    int a  = Integer.parseInt(line.split(" ")[0]);
		    String op = line.split(" ")[1];
		    int b  = Integer.parseInt(line.split(" ")[2]);

		    if("?".equals(op)) break;

		    if ("+".equals(op)) {
			    System.out.println(a + b);

		    } else if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    }
	    }
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    while (true) {
		    String line = br.readLine();
		    int a  = Integer.parseInt(line.split(" ")[0]);
		    String op = line.split(" ")[1];
		    int b  = Integer.parseInt(line.split(" ")[2]);

		    if("?".equals(op)) break;

		    if ("+".equals(op)) {
			    System.out.println(a + b);

		    } else if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    }
	    }
	}
} Main public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    while (true) {
		    String line = br.readLine();
		    int a  = Integer.parseInt(line.split(" ")[0]);
		    String op = line.split(" ")[1];
		    int b  = Integer.parseInt(line.split(" ")[2]);

		    if("?".equals(op)) break;

		    if ("+".equals(op)) {
			    System.out.println(a + b);

		    } else if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    }
	    }
	} main {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    while (true) {
		    String line = br.readLine();
		    int a  = Integer.parseInt(line.split(" ")[0]);
		    String op = line.split(" ")[1];
		    int b  = Integer.parseInt(line.split(" ")[2]);

		    if("?".equals(op)) break;

		    if ("+".equals(op)) {
			    System.out.println(a + b);

		    } else if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    }
	    }
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while (true) {
		    String line = br.readLine();
		    int a  = Integer.parseInt(line.split(" ")[0]);
		    String op = line.split(" ")[1];
		    int b  = Integer.parseInt(line.split(" ")[2]);

		    if("?".equals(op)) break;

		    if ("+".equals(op)) {
			    System.out.println(a + b);

		    } else if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    }
	    } true {
		    String line = br.readLine();
		    int a  = Integer.parseInt(line.split(" ")[0]);
		    String op = line.split(" ")[1];
		    int b  = Integer.parseInt(line.split(" ")[2]);

		    if("?".equals(op)) break;

		    if ("+".equals(op)) {
			    System.out.println(a + b);

		    } else if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    }
	    } String line = br.readLine(); line br.readLine() br.readLine br int a  = Integer.parseInt(line.split(" ")[0]); a Integer.parseInt(line.split(" ")[0]) Integer.parseInt Integer line.split(" ")[0] line.split(" ") line.split line " " 0 String op = line.split(" ")[1]; op line.split(" ")[1] line.split(" ") line.split line " " 1 int b  = Integer.parseInt(line.split(" ")[2]); b Integer.parseInt(line.split(" ")[2]) Integer.parseInt Integer line.split(" ")[2] line.split(" ") line.split line " " 2 if("?".equals(op)) break; "?".equals(op) "?".equals "?" op break; if ("+".equals(op)) {
			    System.out.println(a + b);

		    } else if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    } "+".equals(op) "+".equals "+" op {
			    System.out.println(a + b);

		    } System.out.println(a + b) System.out.println System.out System System.out a + b a b if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    } "-".equals(op) "-".equals "-" op {
			    System.out.println(a - b);

		    } System.out.println(a - b) System.out.println System.out System System.out a - b a b if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    } "*".equals(op) "*".equals "*" op {
			    System.out.println(a * b);

		    } System.out.println(a * b) System.out.println System.out System System.out a * b a b if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    } "/".equals(op) "/".equals "/" op {
			    System.out.println((int)(a / b));

		    } System.out.println((int)(a / b)) System.out.println System.out System System.out (int)(a / b) a b String[] args args public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    while (true) {
		    String line = br.readLine();
		    int a  = Integer.parseInt(line.split(" ")[0]);
		    String op = line.split(" ")[1];
		    int b  = Integer.parseInt(line.split(" ")[2]);

		    if("?".equals(op)) break;

		    if ("+".equals(op)) {
			    System.out.println(a + b);

		    } else if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    }
	    }
	}
} public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    while (true) {
		    String line = br.readLine();
		    int a  = Integer.parseInt(line.split(" ")[0]);
		    String op = line.split(" ")[1];
		    int b  = Integer.parseInt(line.split(" ")[2]);

		    if("?".equals(op)) break;

		    if ("+".equals(op)) {
			    System.out.println(a + b);

		    } else if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    }
	    }
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) throws Exception {
	    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

	    while (true) {
		    String line = br.readLine();
		    int a  = Integer.parseInt(line.split(" ")[0]);
		    String op = line.split(" ")[1];
		    int b  = Integer.parseInt(line.split(" ")[2]);

		    if("?".equals(op)) break;

		    if ("+".equals(op)) {
			    System.out.println(a + b);

		    } else if("-".equals(op)) {
			    System.out.println(a - b);

		    } else if("*".equals(op)) {
			    System.out.println(a * b);

		    } else if("/".equals(op)) {
			    System.out.println((int)(a / b));

		    }
	    }
	}
}