import java.util.*;
public class Main{
  public static void main (String[] args)throws java.lang.Exception{
    Scanner scanner = new Scanner(System.in);
    while(true){
      int a = scanner.nextInt();
      String d = scanner.next();
      int b = scanner.nextInt();
      if(d.equals("?")){
        break;
      }
      if(d.equals("+")){
        System.out.println(a+b);
      }
      if(d.equals("-")){
        System.out.println(a-b);
      }
      if(d.equals("*")){
        System.out.println(a*b);
      }
      if(d.equals  ("/")){
        System.out.println(a/b);
      }
    }
  }
} import java.util.*; util.* java public class Main{
  public static void main (String[] args)throws java.lang.Exception{
    Scanner scanner = new Scanner(System.in);
    while(true){
      int a = scanner.nextInt();
      String d = scanner.next();
      int b = scanner.nextInt();
      if(d.equals("?")){
        break;
      }
      if(d.equals("+")){
        System.out.println(a+b);
      }
      if(d.equals("-")){
        System.out.println(a-b);
      }
      if(d.equals("*")){
        System.out.println(a*b);
      }
      if(d.equals  ("/")){
        System.out.println(a/b);
      }
    }
  }
} Main public static void main (String[] args)throws java.lang.Exception{
    Scanner scanner = new Scanner(System.in);
    while(true){
      int a = scanner.nextInt();
      String d = scanner.next();
      int b = scanner.nextInt();
      if(d.equals("?")){
        break;
      }
      if(d.equals("+")){
        System.out.println(a+b);
      }
      if(d.equals("-")){
        System.out.println(a-b);
      }
      if(d.equals("*")){
        System.out.println(a*b);
      }
      if(d.equals  ("/")){
        System.out.println(a/b);
      }
    }
  } main {
    Scanner scanner = new Scanner(System.in);
    while(true){
      int a = scanner.nextInt();
      String d = scanner.next();
      int b = scanner.nextInt();
      if(d.equals("?")){
        break;
      }
      if(d.equals("+")){
        System.out.println(a+b);
      }
      if(d.equals("-")){
        System.out.println(a-b);
      }
      if(d.equals("*")){
        System.out.println(a*b);
      }
      if(d.equals  ("/")){
        System.out.println(a/b);
      }
    }
  } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) while(true){
      int a = scanner.nextInt();
      String d = scanner.next();
      int b = scanner.nextInt();
      if(d.equals("?")){
        break;
      }
      if(d.equals("+")){
        System.out.println(a+b);
      }
      if(d.equals("-")){
        System.out.println(a-b);
      }
      if(d.equals("*")){
        System.out.println(a*b);
      }
      if(d.equals  ("/")){
        System.out.println(a/b);
      }
    } true {
      int a = scanner.nextInt();
      String d = scanner.next();
      int b = scanner.nextInt();
      if(d.equals("?")){
        break;
      }
      if(d.equals("+")){
        System.out.println(a+b);
      }
      if(d.equals("-")){
        System.out.println(a-b);
      }
      if(d.equals("*")){
        System.out.println(a*b);
      }
      if(d.equals  ("/")){
        System.out.println(a/b);
      }
    } int a = scanner.nextInt(); a scanner.nextInt() scanner.nextInt scanner String d = scanner.next(); d scanner.next() scanner.next scanner int b = scanner.nextInt(); b scanner.nextInt() scanner.nextInt scanner if(d.equals("?")){
        break;
      } d.equals("?") d.equals d "?" {
        break;
      } break; if(d.equals("+")){
        System.out.println(a+b);
      } d.equals("+") d.equals d "+" {
        System.out.println(a+b);
      } System.out.println(a+b) System.out.println System.out System System.out a+b a b if(d.equals("-")){
        System.out.println(a-b);
      } d.equals("-") d.equals d "-" {
        System.out.println(a-b);
      } System.out.println(a-b) System.out.println System.out System System.out a-b a b if(d.equals("*")){
        System.out.println(a*b);
      } d.equals("*") d.equals d "*" {
        System.out.println(a*b);
      } System.out.println(a*b) System.out.println System.out System System.out a*b a b if(d.equals  ("/")){
        System.out.println(a/b);
      } d.equals  ("/") d.equals d "/" {
        System.out.println(a/b);
      } System.out.println(a/b) System.out.println System.out System System.out a/b a b String[] args args public class Main{
  public static void main (String[] args)throws java.lang.Exception{
    Scanner scanner = new Scanner(System.in);
    while(true){
      int a = scanner.nextInt();
      String d = scanner.next();
      int b = scanner.nextInt();
      if(d.equals("?")){
        break;
      }
      if(d.equals("+")){
        System.out.println(a+b);
      }
      if(d.equals("-")){
        System.out.println(a-b);
      }
      if(d.equals("*")){
        System.out.println(a*b);
      }
      if(d.equals  ("/")){
        System.out.println(a/b);
      }
    }
  }
} public class Main{
  public static void main (String[] args)throws java.lang.Exception{
    Scanner scanner = new Scanner(System.in);
    while(true){
      int a = scanner.nextInt();
      String d = scanner.next();
      int b = scanner.nextInt();
      if(d.equals("?")){
        break;
      }
      if(d.equals("+")){
        System.out.println(a+b);
      }
      if(d.equals("-")){
        System.out.println(a-b);
      }
      if(d.equals("*")){
        System.out.println(a*b);
      }
      if(d.equals  ("/")){
        System.out.println(a/b);
      }
    }
  }
} Main
import java.util.*;
public class Main{
  public static void main (String[] args)throws java.lang.Exception{
    Scanner scanner = new Scanner(System.in);
    while(true){
      int a = scanner.nextInt();
      String d = scanner.next();
      int b = scanner.nextInt();
      if(d.equals("?")){
        break;
      }
      if(d.equals("+")){
        System.out.println(a+b);
      }
      if(d.equals("-")){
        System.out.println(a-b);
      }
      if(d.equals("*")){
        System.out.println(a*b);
      }
      if(d.equals  ("/")){
        System.out.println(a/b);
      }
    }
  }
}