import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a=0;
			  int b=0;
              String c;
              int d=0;

              while(true){
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              }

		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a=0;
			  int b=0;
              String c;
              int d=0;

              while(true){
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              }

		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	}
} Main public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a=0;
			  int b=0;
              String c;
              int d=0;

              while(true){
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              }

		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	} main {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a=0;
			  int b=0;
              String c;
              int d=0;

              while(true){
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              }

		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	} BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); input new BufferedReader(new InputStreamReader(System.in)) try{


			  String ab;
			  String[] strAry;
			  int a=0;
			  int b=0;
              String c;
              int d=0;

              while(true){
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              }

		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    } catch(IOException e) {   System.out.println("Exception : " + e);
		    } IOException e {   System.out.println("Exception : " + e);
		    } System.out.println("Exception : " + e) System.out.println System.out System System.out "Exception : " + e "Exception : " e {


			  String ab;
			  String[] strAry;
			  int a=0;
			  int b=0;
              String c;
              int d=0;

              while(true){
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              }

		    } String ab; ab String[] strAry; strAry int a=0; a 0 int b=0; b 0 String c; c int d=0; d 0 while(true){
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              } true {
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              } ab = input.readLine() ab input.readLine() input.readLine input strAry = ab.split(" ") strAry ab.split(" ") ab.split ab " " a=Integer.parseInt(strAry[0]) a Integer.parseInt(strAry[0]) Integer.parseInt Integer strAry[0] strAry 0 b=Integer.parseInt(strAry[2]) b Integer.parseInt(strAry[2]) Integer.parseInt Integer strAry[2] strAry 2 c=strAry[1] c strAry[1] strAry 1 if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      } c.equals("+") c.equals c "+" {
            	      d=a+b;
                   } d=a+b d a+b a b if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      } c.equals("-") c.equals c "-" {
            	      d=a-b;
                  } d=a-b d a-b a b if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      } c.equals("*") c.equals c "*" {
            	      d=a*b;
                 } d=a*b d a*b a b if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      } c.equals("/") c.equals c "/" {
            	      d=a/b;
                  } d=a/b d a/b a b if(c.equals("?")){
                        break;
                      } c.equals("?") c.equals c "?" {
                        break;
                      } break; System.out.println(d) System.out.println System.out System System.out d String[] args args public class Main {
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a=0;
			  int b=0;
              String c;
              int d=0;

              while(true){
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              }

		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a=0;
			  int b=0;
              String c;
              int d=0;

              while(true){
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              }

		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(System.in));


		  try{


			  String ab;
			  String[] strAry;
			  int a=0;
			  int b=0;
              String c;
              int d=0;

              while(true){
            	 
			      ab = input.readLine();
		          strAry = ab.split(" ");
		          a=Integer.parseInt(strAry[0]);
	              b=Integer.parseInt(strAry[2]);
                  c=strAry[1];
                

                  if(c.equals("+")){
            	      d=a+b;
                   }
                 
                  else if(c.equals("-")){
            	      d=a-b;
                  }
                  else if(c.equals("*")){
            	      d=a*b;
                 }
                  else if(c.equals("/")){
            	      d=a/b;
                  }
                  else if(c.equals("?")){
                        break;
                      }
                  System.out.println(d);
              }

		    }catch(IOException e) {   System.out.println("Exception : " + e);
		    }

	}
}