import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is;
        while(true){
        	is = br.readLine();
			String[] sp = is.split(" ");

			int a = Integer.parseInt(sp[0]);
			String op = sp[1];
			int b = Integer.parseInt(sp[2]);

	        switch(op){
	        case "+":
	        	System.out.println(a+b);
	        	break;
	        case "-":
	        	System.out.println(a-b);
	        	break;
	        case "/":
	        	System.out.println(a/b);
	        	break;
	        case "*":
	        	System.out.println(a*b);
	        	break;
	        case "?":
	        	return;
	        }
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is;
        while(true){
        	is = br.readLine();
			String[] sp = is.split(" ");

			int a = Integer.parseInt(sp[0]);
			String op = sp[1];
			int b = Integer.parseInt(sp[2]);

	        switch(op){
	        case "+":
	        	System.out.println(a+b);
	        	break;
	        case "-":
	        	System.out.println(a-b);
	        	break;
	        case "/":
	        	System.out.println(a/b);
	        	break;
	        case "*":
	        	System.out.println(a*b);
	        	break;
	        case "?":
	        	return;
	        }
        }
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is;
        while(true){
        	is = br.readLine();
			String[] sp = is.split(" ");

			int a = Integer.parseInt(sp[0]);
			String op = sp[1];
			int b = Integer.parseInt(sp[2]);

	        switch(op){
	        case "+":
	        	System.out.println(a+b);
	        	break;
	        case "-":
	        	System.out.println(a-b);
	        	break;
	        case "/":
	        	System.out.println(a/b);
	        	break;
	        case "*":
	        	System.out.println(a*b);
	        	break;
	        case "?":
	        	return;
	        }
        }
    } main {
        BufferedReader br =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is;
        while(true){
        	is = br.readLine();
			String[] sp = is.split(" ");

			int a = Integer.parseInt(sp[0]);
			String op = sp[1];
			int b = Integer.parseInt(sp[2]);

	        switch(op){
	        case "+":
	        	System.out.println(a+b);
	        	break;
	        case "-":
	        	System.out.println(a-b);
	        	break;
	        case "/":
	        	System.out.println(a/b);
	        	break;
	        case "*":
	        	System.out.println(a*b);
	        	break;
	        case "?":
	        	return;
	        }
        }
    } BufferedReader br =
            new BufferedReader(new InputStreamReader(System.in), 1); br new BufferedReader(new InputStreamReader(System.in), 1) String is; is while(true){
        	is = br.readLine();
			String[] sp = is.split(" ");

			int a = Integer.parseInt(sp[0]);
			String op = sp[1];
			int b = Integer.parseInt(sp[2]);

	        switch(op){
	        case "+":
	        	System.out.println(a+b);
	        	break;
	        case "-":
	        	System.out.println(a-b);
	        	break;
	        case "/":
	        	System.out.println(a/b);
	        	break;
	        case "*":
	        	System.out.println(a*b);
	        	break;
	        case "?":
	        	return;
	        }
        } true {
        	is = br.readLine();
			String[] sp = is.split(" ");

			int a = Integer.parseInt(sp[0]);
			String op = sp[1];
			int b = Integer.parseInt(sp[2]);

	        switch(op){
	        case "+":
	        	System.out.println(a+b);
	        	break;
	        case "-":
	        	System.out.println(a-b);
	        	break;
	        case "/":
	        	System.out.println(a/b);
	        	break;
	        case "*":
	        	System.out.println(a*b);
	        	break;
	        case "?":
	        	return;
	        }
        } is = br.readLine() is br.readLine() br.readLine br String[] sp = is.split(" "); sp is.split(" ") is.split is " " int a = Integer.parseInt(sp[0]); a Integer.parseInt(sp[0]) Integer.parseInt Integer sp[0] sp 0 String op = sp[1]; op sp[1] sp 1 int b = Integer.parseInt(sp[2]); b Integer.parseInt(sp[2]) Integer.parseInt Integer sp[2] sp 2 switch(op){
	        case "+":
	        	System.out.println(a+b);
	        	break;
	        case "-":
	        	System.out.println(a-b);
	        	break;
	        case "/":
	        	System.out.println(a/b);
	        	break;
	        case "*":
	        	System.out.println(a*b);
	        	break;
	        case "?":
	        	return;
	        } op case "+": "+" case "+": System.out.println(a+b) System.out.println System.out System System.out a+b a b break; case "-": "-" case "-": System.out.println(a-b) System.out.println System.out System System.out a-b a b break; case "/": "/" case "/": System.out.println(a/b) System.out.println System.out System System.out a/b a b break; case "*": "*" case "*": System.out.println(a*b) System.out.println System.out System System.out a*b a b break; case "?": "?" case "?": return; String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br =
            new BufferedReader(new InputStreamReader(System.in), 1);
        String is;
        while(true){
        	is = br.readLine();
			String[] sp = is.split(" ");

			int a = Integer.parseInt(sp[0]);
			String op = sp[1];
			int b = Integer.parseInt(sp[2]);

	        switch(op){
	        case "+":
	        	System.out.println(a+b);
	        	break;
	        case "-":
	        	System.out.println(a-b);
	        	break;
	        case "/":
	        	System.out.println(a/b);
	        	break;
	        case "*":
	        	System.out.println(a*b);
	        	break;
	        case "?":
	        	return;
	        }
        }
    }
}