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));

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

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

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

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

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

            else if(op.equals("?")){
            	System.exit(0);
            }

            op="";
            a=0;
            b=0;
    	}
    }
} 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));

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

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

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

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

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

            else if(op.equals("?")){
            	System.exit(0);
            }

            op="";
            a=0;
            b=0;
    	}
    }
} Main public static void main(String[] args) throws IOException {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

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

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

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

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

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

            else if(op.equals("?")){
            	System.exit(0);
            }

            op="";
            a=0;
            b=0;
    	}
    } main {
    	BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

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

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

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

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

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

            else if(op.equals("?")){
            	System.exit(0);
            }

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

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

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

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

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

            else if(op.equals("?")){
            	System.exit(0);
            }

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

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

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

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

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

            else if(op.equals("?")){
            	System.exit(0);
            }

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

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

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

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

            else if(op.equals("?")){
            	System.exit(0);
            } op.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(op.equals("-")){
            	System.out.println(a-b);
            }

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

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

            else if(op.equals("?")){
            	System.exit(0);
            } op.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(op.equals("*")){
            	System.out.println(a*b);
            }

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

            else if(op.equals("?")){
            	System.exit(0);
            } op.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(op.equals("/")){
            	System.out.println(a/b);
            }

            else if(op.equals("?")){
            	System.exit(0);
            } op.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(op.equals("?")){
            	System.exit(0);
            } op.equals("?") op.equals op "?" {
            	System.exit(0);
            } System.exit(0) System.exit System 0 op="" op "" a=0 a 0 b=0 b 0 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));

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

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

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

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

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

            else if(op.equals("?")){
            	System.exit(0);
            }

            op="";
            a=0;
            b=0;
    	}
    }
}