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

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int MAX=20000;
        int MIN=0;
        
        while(true){
            String[] data=reader.readLine().split(" ");
            final int a=Integer.parseInt(data[0]);
            final int b=Integer.parseInt(data[2]);
            
            if(data[1].equals("?")) break;
        
            if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            }
        }
    }
} 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 reader = new BufferedReader(new InputStreamReader(System.in));
        int MAX=20000;
        int MIN=0;
        
        while(true){
            String[] data=reader.readLine().split(" ");
            final int a=Integer.parseInt(data[0]);
            final int b=Integer.parseInt(data[2]);
            
            if(data[1].equals("?")) break;
        
            if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            }
        }
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int MAX=20000;
        int MIN=0;
        
        while(true){
            String[] data=reader.readLine().split(" ");
            final int a=Integer.parseInt(data[0]);
            final int b=Integer.parseInt(data[2]);
            
            if(data[1].equals("?")) break;
        
            if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            }
        }
    } main {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int MAX=20000;
        int MIN=0;
        
        while(true){
            String[] data=reader.readLine().split(" ");
            final int a=Integer.parseInt(data[0]);
            final int b=Integer.parseInt(data[2]);
            
            if(data[1].equals("?")) break;
        
            if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            }
        }
    } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) int MAX=20000; MAX 20000 int MIN=0; MIN 0 while(true){
            String[] data=reader.readLine().split(" ");
            final int a=Integer.parseInt(data[0]);
            final int b=Integer.parseInt(data[2]);
            
            if(data[1].equals("?")) break;
        
            if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            }
        } true {
            String[] data=reader.readLine().split(" ");
            final int a=Integer.parseInt(data[0]);
            final int b=Integer.parseInt(data[2]);
            
            if(data[1].equals("?")) break;
        
            if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            }
        } String[] data=reader.readLine().split(" "); data reader.readLine().split(" ") reader.readLine().split reader.readLine() reader.readLine reader " " final int a=Integer.parseInt(data[0]); a Integer.parseInt(data[0]) Integer.parseInt Integer data[0] data 0 final int b=Integer.parseInt(data[2]); b Integer.parseInt(data[2]) Integer.parseInt Integer data[2] data 2 if(data[1].equals("?")) break; data[1].equals("?") data[1].equals data[1] data 1 "?" break; if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            } (MIN<=a && a<=MAX) && (MIN<=b && b<=MAX) (MIN<=a && a<=MAX) MIN<=a MIN a a<=MAX a MAX (MIN<=b && b<=MAX) MIN<=b MIN b b<=MAX b MAX {
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            } if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n"); data[1].equals("+") data[1].equals data[1] data 1 "+" System.out.print(a+b+"\n") System.out.print System.out System System.out a+b+"\n" a+b+"\n" a b "\n" if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n"); data[1].equals("-") data[1].equals data[1] data 1 "-" System.out.print(a-b+"\n") System.out.print System.out System System.out a-b+"\n" a-b a b "\n" if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n"); data[1].equals("*") data[1].equals data[1] data 1 "*" System.out.print(a*b+"\n") System.out.print System.out System System.out a*b+"\n" a*b a b "\n" if(data[1].equals("/")) System.out.print(a/b+"\n"); data[1].equals("/") data[1].equals data[1] data 1 "/" System.out.print(a/b+"\n") System.out.print System.out System System.out a/b+"\n" a/b a b "\n" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int MAX=20000;
        int MIN=0;
        
        while(true){
            String[] data=reader.readLine().split(" ");
            final int a=Integer.parseInt(data[0]);
            final int b=Integer.parseInt(data[2]);
            
            if(data[1].equals("?")) break;
        
            if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            }
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int MAX=20000;
        int MIN=0;
        
        while(true){
            String[] data=reader.readLine().split(" ");
            final int a=Integer.parseInt(data[0]);
            final int b=Integer.parseInt(data[2]);
            
            if(data[1].equals("?")) break;
        
            if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            }
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        int MAX=20000;
        int MIN=0;
        
        while(true){
            String[] data=reader.readLine().split(" ");
            final int a=Integer.parseInt(data[0]);
            final int b=Integer.parseInt(data[2]);
            
            if(data[1].equals("?")) break;
        
            if((MIN<=a && a<=MAX) && (MIN<=b && b<=MAX)){
                if(data[1].equals("+")) System.out.print(a+b+"\n");
                else if(data[1].equals("-")) System.out.print(a-b+"\n");
                else if(data[1].equals("*")) System.out.print(a*b+"\n");
                else if(data[1].equals("/")) System.out.print(a/b+"\n");
            }
        }
    }
}