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 IOException {

        ArrayList<Integer> x = new ArrayList<>();
        ArrayList<String> st = new ArrayList<>();
        ArrayList<Integer> y = new ArrayList<>();

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        while (true) {
            
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            x.add(Integer.parseInt(line[0]));
            st.add(line[1]);
            y.add(Integer.parseInt(line[2]));

        }

        for (int i = 0; i < x.size(); i++) {
            if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            }

            if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            }

            if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            }

            if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.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 IOException {

        ArrayList<Integer> x = new ArrayList<>();
        ArrayList<String> st = new ArrayList<>();
        ArrayList<Integer> y = new ArrayList<>();

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        while (true) {
            
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            x.add(Integer.parseInt(line[0]));
            st.add(line[1]);
            y.add(Integer.parseInt(line[2]));

        }

        for (int i = 0; i < x.size(); i++) {
            if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            }

            if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            }

            if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            }

            if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.get(i));
            }
        }

    }

} Main public static void main(String[] args) throws IOException {

        ArrayList<Integer> x = new ArrayList<>();
        ArrayList<String> st = new ArrayList<>();
        ArrayList<Integer> y = new ArrayList<>();

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        while (true) {
            
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            x.add(Integer.parseInt(line[0]));
            st.add(line[1]);
            y.add(Integer.parseInt(line[2]));

        }

        for (int i = 0; i < x.size(); i++) {
            if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            }

            if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            }

            if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            }

            if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.get(i));
            }
        }

    } main {

        ArrayList<Integer> x = new ArrayList<>();
        ArrayList<String> st = new ArrayList<>();
        ArrayList<Integer> y = new ArrayList<>();

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        while (true) {
            
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            x.add(Integer.parseInt(line[0]));
            st.add(line[1]);
            y.add(Integer.parseInt(line[2]));

        }

        for (int i = 0; i < x.size(); i++) {
            if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            }

            if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            }

            if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            }

            if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.get(i));
            }
        }

    } ArrayList<Integer> x = new ArrayList<>(); x new ArrayList<>() ArrayList<String> st = new ArrayList<>(); st new ArrayList<>() ArrayList<Integer> y = new ArrayList<>(); y new ArrayList<>() BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while (true) {
            
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            x.add(Integer.parseInt(line[0]));
            st.add(line[1]);
            y.add(Integer.parseInt(line[2]));

        } true {
            
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            x.add(Integer.parseInt(line[0]));
            st.add(line[1]);
            y.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; x.add(Integer.parseInt(line[0])) x.add x Integer.parseInt(line[0]) Integer.parseInt Integer line[0] line 0 st.add(line[1]) st.add st line[1] line 1 y.add(Integer.parseInt(line[2])) y.add y Integer.parseInt(line[2]) Integer.parseInt Integer line[2] line 2 for (int i = 0; i < x.size(); i++) {
            if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            }

            if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            }

            if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            }

            if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.get(i));
            }
        } int i = 0; int i = 0; i 0 i < x.size() i x.size() x.size x i++ i++ i {
            if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            }

            if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            }

            if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            }

            if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.get(i));
            }
        } {
            if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            }

            if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            }

            if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            }

            if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.get(i));
            }
        } if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            } "+".equals(st.get(i)) "+".equals "+" st.get(i) st.get st i {
                System.out.println(x.get(i) + y.get(i));
            } System.out.println(x.get(i) + y.get(i)) System.out.println System.out System System.out x.get(i) + y.get(i) x.get(i) x.get x i y.get(i) y.get y i if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            } "-".equals(st.get(i)) "-".equals "-" st.get(i) st.get st i {
                System.out.println(x.get(i) - y.get(i));
            } System.out.println(x.get(i) - y.get(i)) System.out.println System.out System System.out x.get(i) - y.get(i) x.get(i) x.get x i y.get(i) y.get y i if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            } "*".equals(st.get(i)) "*".equals "*" st.get(i) st.get st i {
                System.out.println(x.get(i) * y.get(i));
            } System.out.println(x.get(i) * y.get(i)) System.out.println System.out System System.out x.get(i) * y.get(i) x.get(i) x.get x i y.get(i) y.get y i if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.get(i));
            } "/".equals(st.get(i)) "/".equals "/" st.get(i) st.get st i {
                System.out.println(x.get(i) / y.get(i));
            } System.out.println(x.get(i) / y.get(i)) System.out.println System.out System System.out x.get(i) / y.get(i) x.get(i) x.get x i y.get(i) y.get y i String[] args args public class Main {

    public static void main(String[] args) throws IOException {

        ArrayList<Integer> x = new ArrayList<>();
        ArrayList<String> st = new ArrayList<>();
        ArrayList<Integer> y = new ArrayList<>();

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        while (true) {
            
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            x.add(Integer.parseInt(line[0]));
            st.add(line[1]);
            y.add(Integer.parseInt(line[2]));

        }

        for (int i = 0; i < x.size(); i++) {
            if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            }

            if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            }

            if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            }

            if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.get(i));
            }
        }

    }

} public class Main {

    public static void main(String[] args) throws IOException {

        ArrayList<Integer> x = new ArrayList<>();
        ArrayList<String> st = new ArrayList<>();
        ArrayList<Integer> y = new ArrayList<>();

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        while (true) {
            
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            x.add(Integer.parseInt(line[0]));
            st.add(line[1]);
            y.add(Integer.parseInt(line[2]));

        }

        for (int i = 0; i < x.size(); i++) {
            if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            }

            if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            }

            if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            }

            if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.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 IOException {

        ArrayList<Integer> x = new ArrayList<>();
        ArrayList<String> st = new ArrayList<>();
        ArrayList<Integer> y = new ArrayList<>();

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        
        while (true) {
            
            String[] line = br.readLine().split(" ");
            if ("?".equals(line[1])) {
                break;
            }
            x.add(Integer.parseInt(line[0]));
            st.add(line[1]);
            y.add(Integer.parseInt(line[2]));

        }

        for (int i = 0; i < x.size(); i++) {
            if ("+".equals(st.get(i))) {
                System.out.println(x.get(i) + y.get(i));
            }

            if ("-".equals(st.get(i))) {
                System.out.println(x.get(i) - y.get(i));
            }

            if ("*".equals(st.get(i))) {
                System.out.println(x.get(i) * y.get(i));
            }

            if ("/".equals(st.get(i))) {
                System.out.println(x.get(i) / y.get(i));
            }
        }

    }

}