import java.util.Scanner;

  
public class Main {
	
	
  public static void main(String[] args) {
	  int n=Integer.MAX_VALUE;
	  Scanner sc=new Scanner(System.in);
	 
	  for(int i=0;i<n;i++){
	  int a=Integer.parseInt(sc.next());
	 String s=sc.next();
	 int b=Integer.parseInt(sc.next()); 
	 
	 if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 }
 }
  }
} import java.util.Scanner; Scanner java.util public class Main {
	
	
  public static void main(String[] args) {
	  int n=Integer.MAX_VALUE;
	  Scanner sc=new Scanner(System.in);
	 
	  for(int i=0;i<n;i++){
	  int a=Integer.parseInt(sc.next());
	 String s=sc.next();
	 int b=Integer.parseInt(sc.next()); 
	 
	 if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 }
 }
  }
} Main public static void main(String[] args) {
	  int n=Integer.MAX_VALUE;
	  Scanner sc=new Scanner(System.in);
	 
	  for(int i=0;i<n;i++){
	  int a=Integer.parseInt(sc.next());
	 String s=sc.next();
	 int b=Integer.parseInt(sc.next()); 
	 
	 if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 }
 }
  } main {
	  int n=Integer.MAX_VALUE;
	  Scanner sc=new Scanner(System.in);
	 
	  for(int i=0;i<n;i++){
	  int a=Integer.parseInt(sc.next());
	 String s=sc.next();
	 int b=Integer.parseInt(sc.next()); 
	 
	 if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 }
 }
  } int n=Integer.MAX_VALUE; n Integer.MAX_VALUE Integer Integer.MAX_VALUE Scanner sc=new Scanner(System.in); sc new Scanner(System.in) for(int i=0;i<n;i++){
	  int a=Integer.parseInt(sc.next());
	 String s=sc.next();
	 int b=Integer.parseInt(sc.next()); 
	 
	 if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 }
 } int i=0; int i=0; i 0 i<n i n i++ i++ i {
	  int a=Integer.parseInt(sc.next());
	 String s=sc.next();
	 int b=Integer.parseInt(sc.next()); 
	 
	 if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 }
 } {
	  int a=Integer.parseInt(sc.next());
	 String s=sc.next();
	 int b=Integer.parseInt(sc.next()); 
	 
	 if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 }
 } int a=Integer.parseInt(sc.next()); a Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc String s=sc.next(); s sc.next() sc.next sc int b=Integer.parseInt(sc.next()); b Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 } s.equals("+") s.equals s "+" {
		 System.out.println(a+b);
	 } System.out.println(a+b) System.out.println System.out System System.out a+b a b if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 } s.equals("-") s.equals s "-" {
		 System.out.println(a-b); 
	 
	 } System.out.println(a-b) System.out.println System.out System System.out a-b a b if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 } s.equals("*") s.equals s "*" {
	 System.out.println(a*b);
 } System.out.println(a*b) System.out.println System.out System System.out a*b a b if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 } s.equals("/") s.equals s "/" {
	 System.out.println(a/b);
 
 } System.out.println(a/b) System.out.println System.out System System.out a/b a b if(s.equals("?")){
	break; 
 } s.equals("?") s.equals s "?" {
	break; 
 } break; String[] args args public class Main {
	
	
  public static void main(String[] args) {
	  int n=Integer.MAX_VALUE;
	  Scanner sc=new Scanner(System.in);
	 
	  for(int i=0;i<n;i++){
	  int a=Integer.parseInt(sc.next());
	 String s=sc.next();
	 int b=Integer.parseInt(sc.next()); 
	 
	 if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 }
 }
  }
} public class Main {
	
	
  public static void main(String[] args) {
	  int n=Integer.MAX_VALUE;
	  Scanner sc=new Scanner(System.in);
	 
	  for(int i=0;i<n;i++){
	  int a=Integer.parseInt(sc.next());
	 String s=sc.next();
	 int b=Integer.parseInt(sc.next()); 
	 
	 if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 }
 }
  }
} Main
import java.util.Scanner;

  
public class Main {
	
	
  public static void main(String[] args) {
	  int n=Integer.MAX_VALUE;
	  Scanner sc=new Scanner(System.in);
	 
	  for(int i=0;i<n;i++){
	  int a=Integer.parseInt(sc.next());
	 String s=sc.next();
	 int b=Integer.parseInt(sc.next()); 
	 
	 if(s.equals("+")){
		 System.out.println(a+b);
	 }
	 else if(s.equals("-")){
		 System.out.println(a-b); 
	 
	 }
 else if(s.equals("*")){
	 System.out.println(a*b);
 }
	 
 else if(s.equals("/")){
	 System.out.println(a/b);
 
 }
 else if(s.equals("?")){
	break; 
 }
 }
  }
}