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

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

        ArrayList<Integer> a = new ArrayList<>();
        ArrayList<String> op = new ArrayList<>();
        ArrayList<Integer> b = new ArrayList<>();
        
        while(true){
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            a.add(Integer.parseInt(line[0]));
            op.add(line[1]);
            b.add(Integer.parseInt(line[2]));
        }
        for(int i=0;i<a.size();i++){
            if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            }
        }
    }
}
 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 public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        ArrayList<Integer> a = new ArrayList<>();
        ArrayList<String> op = new ArrayList<>();
        ArrayList<Integer> b = new ArrayList<>();
        
        while(true){
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            a.add(Integer.parseInt(line[0]));
            op.add(line[1]);
            b.add(Integer.parseInt(line[2]));
        }
        for(int i=0;i<a.size();i++){
            if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            }
        }
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        ArrayList<Integer> a = new ArrayList<>();
        ArrayList<String> op = new ArrayList<>();
        ArrayList<Integer> b = new ArrayList<>();
        
        while(true){
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            a.add(Integer.parseInt(line[0]));
            op.add(line[1]);
            b.add(Integer.parseInt(line[2]));
        }
        for(int i=0;i<a.size();i++){
            if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            }
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        ArrayList<Integer> a = new ArrayList<>();
        ArrayList<String> op = new ArrayList<>();
        ArrayList<Integer> b = new ArrayList<>();
        
        while(true){
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            a.add(Integer.parseInt(line[0]));
            op.add(line[1]);
            b.add(Integer.parseInt(line[2]));
        }
        for(int i=0;i<a.size();i++){
            if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            }
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) ArrayList<Integer> a = new ArrayList<>(); a new ArrayList<>() ArrayList<String> op = new ArrayList<>(); op new ArrayList<>() ArrayList<Integer> b = new ArrayList<>(); b new ArrayList<>() while(true){
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            a.add(Integer.parseInt(line[0]));
            op.add(line[1]);
            b.add(Integer.parseInt(line[2]));
        } true {
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            a.add(Integer.parseInt(line[0]));
            op.add(line[1]);
            b.add(Integer.parseInt(line[2]));
        } String[] line = br.readLine().split(" "); line br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " if ("?".equals(line[1])) {
                break;
            } "?".equals(line[1]) "?".equals "?" line[1] line 1 {
                break;
            } break; a.add(Integer.parseInt(line[0])) a.add a Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 op.add(line[1]) op.add op line[1] line 1 b.add(Integer.parseInt(line[2])) b.add b Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 for(int i=0;i<a.size();i++){
            if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            }
        } int i=0; int i=0; i 0 i<a.size() i a.size() a.size a i++ i++ i {
            if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            }
        } {
            if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            }
        } if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            } "+".equals(op.get(i)) "+".equals "+" op.get(i) op.get op i {
                System.out.println(a.get(i) + b.get(i));
            } System.out.println(a.get(i) + b.get(i)) System.out.println System.out System System.out a.get(i) + b.get(i) a.get(i) a.get a i b.get(i) b.get b i if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            } "-".equals(op.get(i)) "-".equals "-" op.get(i) op.get op i {
                System.out.println(a.get(i) - b.get(i));
            } System.out.println(a.get(i) - b.get(i)) System.out.println System.out System System.out a.get(i) - b.get(i) a.get(i) a.get a i b.get(i) b.get b i if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            } "*".equals(op.get(i)) "*".equals "*" op.get(i) op.get op i {
                System.out.println(a.get(i) * b.get(i));
            } System.out.println(a.get(i) * b.get(i)) System.out.println System.out System System.out a.get(i) * b.get(i) a.get(i) a.get a i b.get(i) b.get b i if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            } "/".equals(op.get(i)) "/".equals "/" op.get(i) op.get op i {
                System.out.println(a.get(i) / b.get(i));
            } System.out.println(a.get(i) / b.get(i)) System.out.println System.out System System.out a.get(i) / b.get(i) a.get(i) a.get a i b.get(i) b.get b i String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        ArrayList<Integer> a = new ArrayList<>();
        ArrayList<String> op = new ArrayList<>();
        ArrayList<Integer> b = new ArrayList<>();
        
        while(true){
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            a.add(Integer.parseInt(line[0]));
            op.add(line[1]);
            b.add(Integer.parseInt(line[2]));
        }
        for(int i=0;i<a.size();i++){
            if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            }
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        ArrayList<Integer> a = new ArrayList<>();
        ArrayList<String> op = new ArrayList<>();
        ArrayList<Integer> b = new ArrayList<>();
        
        while(true){
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            a.add(Integer.parseInt(line[0]));
            op.add(line[1]);
            b.add(Integer.parseInt(line[2]));
        }
        for(int i=0;i<a.size();i++){
            if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            }
        }
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;

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

        ArrayList<Integer> a = new ArrayList<>();
        ArrayList<String> op = new ArrayList<>();
        ArrayList<Integer> b = new ArrayList<>();
        
        while(true){
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            a.add(Integer.parseInt(line[0]));
            op.add(line[1]);
            b.add(Integer.parseInt(line[2]));
        }
        for(int i=0;i<a.size();i++){
            if("+".equals(op.get(i))){
                System.out.println(a.get(i) + b.get(i));
            }else if("-".equals(op.get(i))){
                System.out.println(a.get(i) - b.get(i));
            }else if("*".equals(op.get(i))){
                System.out.println(a.get(i) * b.get(i));
            }else if("/".equals(op.get(i))){
                System.out.println(a.get(i) / b.get(i));
            }
        }
    }
}

