import java.io.BufferedReader;
import java.io.InputStreamReader;

/**
 * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_4_C
 * 
 * @author chrone
 * 
 */
public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} Main public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    } main {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    } try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        } catch (Exception e) {
            System.exit(-1);
        } Exception e {
            System.exit(-1);
        } System.exit(-1) System.exit System -1 1 {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            }
            stdReader.close();
        } BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in)); stdReader new BufferedReader(
                    new InputStreamReader(System.in)) String sStr; sStr while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            } (sStr = stdReader.readLine()) != null (sStr = stdReader.readLine()) sStr stdReader.readLine() stdReader.readLine stdReader null {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            } String[] inputs = sStr.split(" "); inputs sStr.split(" ") sStr.split sStr " " int a = Integer.valueOf(inputs[0]); a Integer.valueOf(inputs[0]) Integer.valueOf Integer inputs[0] inputs 0 String op = inputs[1]; op inputs[1] inputs 1 int b = Integer.valueOf(inputs[2]); b Integer.valueOf(inputs[2]) Integer.valueOf Integer inputs[2] inputs 2 if (op.equals("?")) {
                    break;
                    // nothing to do.
                } op.equals("?") op.equals op "?" {
                    break;
                    // nothing to do.
                } break; switch (op) {
                    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((int)(a / b));
                        break;
                } op 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((int)(a / b)) System.out.println System.out System System.out (int)(a / b) a b break; stdReader.close() stdReader.close stdReader String[] args args public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

/**
 * http://judge.u-aizu.ac.jp/onlinejudge/description.jsp?id=ITP1_4_C
 * 
 * @author chrone
 * 
 */
public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(
                    new InputStreamReader(System.in));
            
            String sStr;
            while ((sStr = stdReader.readLine()) != null) {
                String[] inputs = sStr.split(" ");
                
                int a = Integer.valueOf(inputs[0]);
                String op = inputs[1];
                int b = Integer.valueOf(inputs[2]);
                
                if (op.equals("?")) {
                    break;
                    // nothing to do.
                }
                
                switch (op) {
                    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((int)(a / b));
                        break;
                }
            }
            stdReader.close();
        } catch (Exception e) {
            System.exit(-1);
        }
    }
}