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

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

   String inStr = br.readLine();
   String[] sp = inStr.split(" ");

   int a = Integer.parseInt(sp[0]);
   char[] op = sp[1].toCharArray();
   int b = Integer.parseInt(sp[2]);

   while(op[0] != '?'){
    switch(op[0]){
        case '+':
            System.out.println(a+b);
            break;
        case '-':
            System.out.println(a-b);
            break;
        case '*':
            System.out.println(a*b);
            break;
        case '/':
            System.out.println(a/b);
            break;
        default:
            break;
    }
   inStr = br.readLine();
   sp = inStr.split(" ");

   a = Integer.parseInt(sp[0]);
   op = sp[1].toCharArray();
   b = Integer.parseInt(sp[2]);
   }
 }
} import java.util.*; util.* java import java.io.*; io.* java public class Main{
 public static void main(String[] args) throws IOException
 {
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);

   String inStr = br.readLine();
   String[] sp = inStr.split(" ");

   int a = Integer.parseInt(sp[0]);
   char[] op = sp[1].toCharArray();
   int b = Integer.parseInt(sp[2]);

   while(op[0] != '?'){
    switch(op[0]){
        case '+':
            System.out.println(a+b);
            break;
        case '-':
            System.out.println(a-b);
            break;
        case '*':
            System.out.println(a*b);
            break;
        case '/':
            System.out.println(a/b);
            break;
        default:
            break;
    }
   inStr = br.readLine();
   sp = inStr.split(" ");

   a = Integer.parseInt(sp[0]);
   op = sp[1].toCharArray();
   b = Integer.parseInt(sp[2]);
   }
 }
} Main public static void main(String[] args) throws IOException
 {
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);

   String inStr = br.readLine();
   String[] sp = inStr.split(" ");

   int a = Integer.parseInt(sp[0]);
   char[] op = sp[1].toCharArray();
   int b = Integer.parseInt(sp[2]);

   while(op[0] != '?'){
    switch(op[0]){
        case '+':
            System.out.println(a+b);
            break;
        case '-':
            System.out.println(a-b);
            break;
        case '*':
            System.out.println(a*b);
            break;
        case '/':
            System.out.println(a/b);
            break;
        default:
            break;
    }
   inStr = br.readLine();
   sp = inStr.split(" ");

   a = Integer.parseInt(sp[0]);
   op = sp[1].toCharArray();
   b = Integer.parseInt(sp[2]);
   }
 } main {
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);

   String inStr = br.readLine();
   String[] sp = inStr.split(" ");

   int a = Integer.parseInt(sp[0]);
   char[] op = sp[1].toCharArray();
   int b = Integer.parseInt(sp[2]);

   while(op[0] != '?'){
    switch(op[0]){
        case '+':
            System.out.println(a+b);
            break;
        case '-':
            System.out.println(a-b);
            break;
        case '*':
            System.out.println(a*b);
            break;
        case '/':
            System.out.println(a/b);
            break;
        default:
            break;
    }
   inStr = br.readLine();
   sp = inStr.split(" ");

   a = Integer.parseInt(sp[0]);
   op = sp[1].toCharArray();
   b = Integer.parseInt(sp[2]);
   }
 } InputStreamReader is = new InputStreamReader(System.in); is new InputStreamReader(System.in) BufferedReader br = new BufferedReader(is); br new BufferedReader(is) String inStr = br.readLine(); inStr br.readLine() br.readLine br String[] sp = inStr.split(" "); sp inStr.split(" ") inStr.split inStr " " int a = Integer.parseInt(sp[0]); a Integer.parseInt(sp[0]) Integer.parseInt Integer sp[0] sp 0 char[] op = sp[1].toCharArray(); op sp[1].toCharArray() sp[1].toCharArray sp[1] sp 1 int b = Integer.parseInt(sp[2]); b Integer.parseInt(sp[2]) Integer.parseInt Integer sp[2] sp 2 while(op[0] != '?'){
    switch(op[0]){
        case '+':
            System.out.println(a+b);
            break;
        case '-':
            System.out.println(a-b);
            break;
        case '*':
            System.out.println(a*b);
            break;
        case '/':
            System.out.println(a/b);
            break;
        default:
            break;
    }
   inStr = br.readLine();
   sp = inStr.split(" ");

   a = Integer.parseInt(sp[0]);
   op = sp[1].toCharArray();
   b = Integer.parseInt(sp[2]);
   } op[0] != '?' op[0] op 0 '?' {
    switch(op[0]){
        case '+':
            System.out.println(a+b);
            break;
        case '-':
            System.out.println(a-b);
            break;
        case '*':
            System.out.println(a*b);
            break;
        case '/':
            System.out.println(a/b);
            break;
        default:
            break;
    }
   inStr = br.readLine();
   sp = inStr.split(" ");

   a = Integer.parseInt(sp[0]);
   op = sp[1].toCharArray();
   b = Integer.parseInt(sp[2]);
   } switch(op[0]){
        case '+':
            System.out.println(a+b);
            break;
        case '-':
            System.out.println(a-b);
            break;
        case '*':
            System.out.println(a*b);
            break;
        case '/':
            System.out.println(a/b);
            break;
        default:
            break;
    } op[0] op 0 case '+': '+' case '+': System.out.println(a+b) System.out.println System.out System System.out a+b a b break; case '-': '-' case '-': System.out.println(a-b) System.out.println System.out System System.out a-b a b break; case '*': '*' case '*': System.out.println(a*b) System.out.println System.out System System.out a*b a b break; case '/': '/' case '/': System.out.println(a/b) System.out.println System.out System System.out a/b a b break; default: default: break; inStr = br.readLine() inStr br.readLine() br.readLine br sp = inStr.split(" ") sp inStr.split(" ") inStr.split inStr " " a = Integer.parseInt(sp[0]) a Integer.parseInt(sp[0]) Integer.parseInt Integer sp[0] sp 0 op = sp[1].toCharArray() op sp[1].toCharArray() sp[1].toCharArray sp[1] sp 1 b = Integer.parseInt(sp[2]) b Integer.parseInt(sp[2]) Integer.parseInt Integer sp[2] sp 2 String[] args args public class Main{
 public static void main(String[] args) throws IOException
 {
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);

   String inStr = br.readLine();
   String[] sp = inStr.split(" ");

   int a = Integer.parseInt(sp[0]);
   char[] op = sp[1].toCharArray();
   int b = Integer.parseInt(sp[2]);

   while(op[0] != '?'){
    switch(op[0]){
        case '+':
            System.out.println(a+b);
            break;
        case '-':
            System.out.println(a-b);
            break;
        case '*':
            System.out.println(a*b);
            break;
        case '/':
            System.out.println(a/b);
            break;
        default:
            break;
    }
   inStr = br.readLine();
   sp = inStr.split(" ");

   a = Integer.parseInt(sp[0]);
   op = sp[1].toCharArray();
   b = Integer.parseInt(sp[2]);
   }
 }
} public class Main{
 public static void main(String[] args) throws IOException
 {
   InputStreamReader is = new InputStreamReader(System.in);
   BufferedReader br = new BufferedReader(is);

   String inStr = br.readLine();
   String[] sp = inStr.split(" ");

   int a = Integer.parseInt(sp[0]);
   char[] op = sp[1].toCharArray();
   int b = Integer.parseInt(sp[2]);

   while(op[0] != '?'){
    switch(op[0]){
        case '+':
            System.out.println(a+b);
            break;
        case '-':
            System.out.println(a-b);
            break;
        case '*':
            System.out.println(a*b);
            break;
        case '/':
            System.out.println(a/b);
            break;
        default:
            break;
    }
   inStr = br.readLine();
   sp = inStr.split(" ");

   a = Integer.parseInt(sp[0]);
   op = sp[1].toCharArray();
   b = Integer.parseInt(sp[2]);
   }
 }
} Main
import java.util.*;
import java.io.*;

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

   String inStr = br.readLine();
   String[] sp = inStr.split(" ");

   int a = Integer.parseInt(sp[0]);
   char[] op = sp[1].toCharArray();
   int b = Integer.parseInt(sp[2]);

   while(op[0] != '?'){
    switch(op[0]){
        case '+':
            System.out.println(a+b);
            break;
        case '-':
            System.out.println(a-b);
            break;
        case '*':
            System.out.println(a*b);
            break;
        case '/':
            System.out.println(a/b);
            break;
        default:
            break;
    }
   inStr = br.readLine();
   sp = inStr.split(" ");

   a = Integer.parseInt(sp[0]);
   op = sp[1].toCharArray();
   b = Integer.parseInt(sp[2]);
   }
 }
}