import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math;

public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.lang.Math; Math java.lang public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    }
} Main public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    } main {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    } try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        } Exception e {
            e.getStackTrace();
            System.exit(-1);
        } e.getStackTrace() e.getStackTrace e System.exit(-1) System.exit System -1 1 {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            }
            stdReader.close();
        } BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); stdReader new BufferedReader(new InputStreamReader(System.in)) String line; line while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            } (line = stdReader.readLine()) != null (line = stdReader.readLine()) line stdReader.readLine() stdReader.readLine stdReader null {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            } String[] input = line.split(" ", 0); input line.split(" ", 0) line.split line " " 0 int a = Integer.parseInt(input[0]); a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 int b = Integer.parseInt(input[2]); b Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 String mark = input[1]; mark input[1] input 1 if(mark.equals("?")) {
                    break;
                } mark.equals("?") mark.equals mark "?" {
                    break;
                } break; if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                } mark.equals("+") mark.equals mark "+" {
                    System.out.println(a + b);
                    continue;
                } System.out.println(a + b) System.out.println System.out System System.out a + b a b continue; if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                } mark.equals("-") mark.equals mark "-" {
                    System.out.println(a - b);
                    continue;
                } System.out.println(a - b) System.out.println System.out System System.out a - b a b continue; if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                } mark.equals("*") mark.equals mark "*" {
                    System.out.println(a * b);
                    continue;
                } System.out.println(a * b) System.out.println System.out System System.out a * b a b continue; if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                } mark.equals("/") mark.equals mark "/" {
                    System.out.println(a / b);
                    continue;
                } System.out.println(a / b) System.out.println System.out System System.out a / b a b continue; 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 line;
            
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    }
} public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math;

public class Main {
    public static void main(String[] args) {
        try {
            BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
            
            String line;
            
            while((line = stdReader.readLine()) != null) {
                String[] input = line.split(" ", 0);
                int a = Integer.parseInt(input[0]);
                int b = Integer.parseInt(input[2]);
                String mark = input[1];
                
                // mark?????????´?????????
                if(mark.equals("?")) {
                    break;
                }
                
                // ?¶???????
                if(mark.equals("+")) {
                    System.out.println(a + b);
                    continue;
                }
                // ?????????
                if(mark.equals("-")) {
                    System.out.println(a - b);
                    continue;
                }
                // ?????????
                if(mark.equals("*")) {
                    System.out.println(a * b);
                    continue;
                }
                // ?????????
                if(mark.equals("/")) {
                    System.out.println(a / b);
                    continue;
                }
                
            }
            stdReader.close();
        } catch(Exception e) {
            e.getStackTrace();
            System.exit(-1);
        }
    }
}