import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException{
      BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
       
      while(true){
      String[] num=buf.readLine().split(" ");
      int x=Integer.parseInt(num[0]);
      int y=Integer.parseInt(num[2]);
       
          if(num[1].equals("+")){
              System.out.println(x+y);
          }
          else if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          }
            }
        }
    } import java.io.*; io.* java public class Main {
    public static void main(String[] args) throws IOException{
      BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
       
      while(true){
      String[] num=buf.readLine().split(" ");
      int x=Integer.parseInt(num[0]);
      int y=Integer.parseInt(num[2]);
       
          if(num[1].equals("+")){
              System.out.println(x+y);
          }
          else if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          }
            }
        }
    } Main public static void main(String[] args) throws IOException{
      BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
       
      while(true){
      String[] num=buf.readLine().split(" ");
      int x=Integer.parseInt(num[0]);
      int y=Integer.parseInt(num[2]);
       
          if(num[1].equals("+")){
              System.out.println(x+y);
          }
          else if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          }
            }
        } main {
      BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
       
      while(true){
      String[] num=buf.readLine().split(" ");
      int x=Integer.parseInt(num[0]);
      int y=Integer.parseInt(num[2]);
       
          if(num[1].equals("+")){
              System.out.println(x+y);
          }
          else if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          }
            }
        } BufferedReader buf=new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) while(true){
      String[] num=buf.readLine().split(" ");
      int x=Integer.parseInt(num[0]);
      int y=Integer.parseInt(num[2]);
       
          if(num[1].equals("+")){
              System.out.println(x+y);
          }
          else if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          }
            } true {
      String[] num=buf.readLine().split(" ");
      int x=Integer.parseInt(num[0]);
      int y=Integer.parseInt(num[2]);
       
          if(num[1].equals("+")){
              System.out.println(x+y);
          }
          else if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          }
            } String[] num=buf.readLine().split(" "); num buf.readLine().split(" ") buf.readLine().split buf.readLine() buf.readLine buf " " int x=Integer.parseInt(num[0]); x Integer.parseInt(num[0]) Integer.parseInt Integer num[0] num 0 int y=Integer.parseInt(num[2]); y Integer.parseInt(num[2]) Integer.parseInt Integer num[2] num 2 if(num[1].equals("+")){
              System.out.println(x+y);
          }
          else if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          } num[1].equals("+") num[1].equals num[1] num 1 "+" {
              System.out.println(x+y);
          } System.out.println(x+y) System.out.println System.out System System.out x+y x y if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          } num[1].equals("-") num[1].equals num[1] num 1 "-" {
              System.out.println(x-y);
          } System.out.println(x-y) System.out.println System.out System System.out x-y x y if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          } num[1].equals("*") num[1].equals num[1] num 1 "*" {
              System.out.println(x*y);
          } System.out.println(x*y) System.out.println System.out System System.out x*y x y if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          } num[1].equals("/") num[1].equals num[1] num 1 "/" {
              System.out.println(x/y);
          } System.out.println(x/y) System.out.println System.out System System.out x/y x y {
                    break;
          } break; String[] args args public class Main {
    public static void main(String[] args) throws IOException{
      BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
       
      while(true){
      String[] num=buf.readLine().split(" ");
      int x=Integer.parseInt(num[0]);
      int y=Integer.parseInt(num[2]);
       
          if(num[1].equals("+")){
              System.out.println(x+y);
          }
          else if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          }
            }
        }
    } public class Main {
    public static void main(String[] args) throws IOException{
      BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
       
      while(true){
      String[] num=buf.readLine().split(" ");
      int x=Integer.parseInt(num[0]);
      int y=Integer.parseInt(num[2]);
       
          if(num[1].equals("+")){
              System.out.println(x+y);
          }
          else if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          }
            }
        }
    } Main
import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException{
      BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
       
      while(true){
      String[] num=buf.readLine().split(" ");
      int x=Integer.parseInt(num[0]);
      int y=Integer.parseInt(num[2]);
       
          if(num[1].equals("+")){
              System.out.println(x+y);
          }
          else if(num[1].equals("-")){
              System.out.println(x-y);
          }
          else if(num[1].equals("*")){
              System.out.println(x*y);
          }
          else if(num[1].equals("/")){
              System.out.println(x/y);
          }
          else{
                    break;
          }
            }
        }
    }