import java.io.IOException;
import java.util.Scanner;
import java.lang.String;
public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
      Scanner sc = new Scanner(System.in);
     
      int d;
      String b;
      b="+";
      d=0;
      
      while(!b.equals("?")){
    	  int a = sc.nextInt();
          b = sc.next();
          int c = sc.nextInt();
      if(b.equals("+")){d=a+c;
      System.out.println(d);}
      else if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;}
      }
	}

} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util import java.lang.String; String java.lang public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
      Scanner sc = new Scanner(System.in);
     
      int d;
      String b;
      b="+";
      d=0;
      
      while(!b.equals("?")){
    	  int a = sc.nextInt();
          b = sc.next();
          int c = sc.nextInt();
      if(b.equals("+")){d=a+c;
      System.out.println(d);}
      else if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;}
      }
	}

} Main public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
      Scanner sc = new Scanner(System.in);
     
      int d;
      String b;
      b="+";
      d=0;
      
      while(!b.equals("?")){
    	  int a = sc.nextInt();
          b = sc.next();
          int c = sc.nextInt();
      if(b.equals("+")){d=a+c;
      System.out.println(d);}
      else if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;}
      }
	} main {
		// TODO ?????????????????????????????????????????????
      Scanner sc = new Scanner(System.in);
     
      int d;
      String b;
      b="+";
      d=0;
      
      while(!b.equals("?")){
    	  int a = sc.nextInt();
          b = sc.next();
          int c = sc.nextInt();
      if(b.equals("+")){d=a+c;
      System.out.println(d);}
      else if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;}
      }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int d; d String b; b b="+" b "+" d=0 d 0 while(!b.equals("?")){
    	  int a = sc.nextInt();
          b = sc.next();
          int c = sc.nextInt();
      if(b.equals("+")){d=a+c;
      System.out.println(d);}
      else if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;}
      } !b.equals("?") b.equals("?") b.equals b "?" {
    	  int a = sc.nextInt();
          b = sc.next();
          int c = sc.nextInt();
      if(b.equals("+")){d=a+c;
      System.out.println(d);}
      else if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;}
      } int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc b = sc.next() b sc.next() sc.next sc int c = sc.nextInt(); c sc.nextInt() sc.nextInt sc if(b.equals("+")){d=a+c;
      System.out.println(d);}
      else if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;} b.equals("+") b.equals b "+" {d=a+c;
      System.out.println(d);} d=a+c d a+c a c System.out.println(d) System.out.println System.out System System.out d if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;} b.equals("-") b.equals b "-" {d=a-c;
      System.out.println(d);} d=a-c d a-c a c System.out.println(d) System.out.println System.out System System.out d if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;} b.equals("*") b.equals b "*" {d=a*c;
      System.out.println(d);} d=a*c d a*c a c System.out.println(d) System.out.println System.out System System.out d if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;} b.equals("/") b.equals b "/" {d=a/c;
      System.out.println(d);} d=a/c d a/c a c System.out.println(d) System.out.println System.out System System.out d if (b.equals("?")){return;} b.equals("?") b.equals b "?" {return;} return; String[] args args public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
      Scanner sc = new Scanner(System.in);
     
      int d;
      String b;
      b="+";
      d=0;
      
      while(!b.equals("?")){
    	  int a = sc.nextInt();
          b = sc.next();
          int c = sc.nextInt();
      if(b.equals("+")){d=a+c;
      System.out.println(d);}
      else if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;}
      }
	}

} public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
      Scanner sc = new Scanner(System.in);
     
      int d;
      String b;
      b="+";
      d=0;
      
      while(!b.equals("?")){
    	  int a = sc.nextInt();
          b = sc.next();
          int c = sc.nextInt();
      if(b.equals("+")){d=a+c;
      System.out.println(d);}
      else if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;}
      }
	}

} Main
import java.io.IOException;
import java.util.Scanner;
import java.lang.String;
public class Main {

	public static void main(String[] args) throws IOException {
		// TODO ?????????????????????????????????????????????
      Scanner sc = new Scanner(System.in);
     
      int d;
      String b;
      b="+";
      d=0;
      
      while(!b.equals("?")){
    	  int a = sc.nextInt();
          b = sc.next();
          int c = sc.nextInt();
      if(b.equals("+")){d=a+c;
      System.out.println(d);}
      else if (b.equals("-")){d=a-c;
      System.out.println(d);}
      else if (b.equals("*")){d=a*c;
      System.out.println(d);}
      else if (b.equals("/")){d=a/c;
      System.out.println(d);}
      else if (b.equals("?")){return;}
      }
	}

}