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

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 if(op.equals("?")) break;
         }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.StringTokenizer; StringTokenizer 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 if(op.equals("?")) 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 if(op.equals("?")) 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 if(op.equals("?")) 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 if(op.equals("?")) 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 if(op.equals("?")) 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 if(op.equals("?")) break; op.equals("+") op.equals op "+" 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("?")) break; op.equals("-") op.equals op "-" 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("?")) break; op.equals("*") op.equals op "*" 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("?")) break; op.equals("/") op.equals op "/" System.out.println(a/b) System.out.println System.out System System.out a/b a b if(op.equals("?")) break; op.equals("?") op.equals op "?" break; String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

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 if(op.equals("?")) break;
         }
    }
}
