import java.io.*;
import java.util.*;

class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while (true) {
            StringTokenizer st = new StringTokenizer(br.readLine());
            int a = Integer.parseInt(st.nextToken());
            String op=st.nextToken();
            int b = Integer.parseInt(st.nextToken());
            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 break;
        }
    }
} import java.io.*; io.* java import java.util.*; util.* java class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while (true) {
            StringTokenizer st = new StringTokenizer(br.readLine());
            int a = Integer.parseInt(st.nextToken());
            String op=st.nextToken();
            int b = Integer.parseInt(st.nextToken());
            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 break;
        }
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while (true) {
            StringTokenizer st = new StringTokenizer(br.readLine());
            int a = Integer.parseInt(st.nextToken());
            String op=st.nextToken();
            int b = Integer.parseInt(st.nextToken());
            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 break;
        }
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while (true) {
            StringTokenizer st = new StringTokenizer(br.readLine());
            int a = Integer.parseInt(st.nextToken());
            String op=st.nextToken();
            int b = Integer.parseInt(st.nextToken());
            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 break;
        }
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while (true) {
            StringTokenizer st = new StringTokenizer(br.readLine());
            int a = Integer.parseInt(st.nextToken());
            String op=st.nextToken();
            int b = Integer.parseInt(st.nextToken());
            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 break;
        } true {
            StringTokenizer st = new StringTokenizer(br.readLine());
            int a = Integer.parseInt(st.nextToken());
            String op=st.nextToken();
            int b = Integer.parseInt(st.nextToken());
            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 break;
        } StringTokenizer st = new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) int a = Integer.parseInt(st.nextToken()); a Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st String op=st.nextToken(); op st.nextToken() st.nextToken st int b = Integer.parseInt(st.nextToken()); b Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st 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 break; 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 break; 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 break; 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 break; 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 break; String[] args args
import java.io.*;
import java.util.*;

class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        while (true) {
            StringTokenizer st = new StringTokenizer(br.readLine());
            int a = Integer.parseInt(st.nextToken());
            String op=st.nextToken();
            int b = Integer.parseInt(st.nextToken());
            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 break;
        }
    }
}