import java.util.Scanner; 
 public class Main {
   public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
       
            int a ;
            String op ;
            int b ;
       
            int sum=0;
       
            String tasu = "+" ;
            String hiku = "-" ;
            String kake = "*" ;
            String waru = "/" ;
            String end = "?" ;
       
       while(true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if(op.equals(tasu)){
               sum=a+b;
               System.out.println(sum);
           }
           if(op.equals(hiku)){
               sum=a-b;
               System.out.println(sum);
           }
           if(op.equals(kake)){
               sum=a*b;
               System.out.println(sum);
           }
           if(op.equals(waru)){
               sum=a/b;
               System.out.println(sum);
           }
           if(op.equals(end)){
               break;
           }
       }
   }
 } import java.util.Scanner; Scanner java.util public class Main {
   public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
       
            int a ;
            String op ;
            int b ;
       
            int sum=0;
       
            String tasu = "+" ;
            String hiku = "-" ;
            String kake = "*" ;
            String waru = "/" ;
            String end = "?" ;
       
       while(true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if(op.equals(tasu)){
               sum=a+b;
               System.out.println(sum);
           }
           if(op.equals(hiku)){
               sum=a-b;
               System.out.println(sum);
           }
           if(op.equals(kake)){
               sum=a*b;
               System.out.println(sum);
           }
           if(op.equals(waru)){
               sum=a/b;
               System.out.println(sum);
           }
           if(op.equals(end)){
               break;
           }
       }
   }
 } Main public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
       
            int a ;
            String op ;
            int b ;
       
            int sum=0;
       
            String tasu = "+" ;
            String hiku = "-" ;
            String kake = "*" ;
            String waru = "/" ;
            String end = "?" ;
       
       while(true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if(op.equals(tasu)){
               sum=a+b;
               System.out.println(sum);
           }
           if(op.equals(hiku)){
               sum=a-b;
               System.out.println(sum);
           }
           if(op.equals(kake)){
               sum=a*b;
               System.out.println(sum);
           }
           if(op.equals(waru)){
               sum=a/b;
               System.out.println(sum);
           }
           if(op.equals(end)){
               break;
           }
       }
   } main {
          Scanner sc = new Scanner(System.in);
       
            int a ;
            String op ;
            int b ;
       
            int sum=0;
       
            String tasu = "+" ;
            String hiku = "-" ;
            String kake = "*" ;
            String waru = "/" ;
            String end = "?" ;
       
       while(true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if(op.equals(tasu)){
               sum=a+b;
               System.out.println(sum);
           }
           if(op.equals(hiku)){
               sum=a-b;
               System.out.println(sum);
           }
           if(op.equals(kake)){
               sum=a*b;
               System.out.println(sum);
           }
           if(op.equals(waru)){
               sum=a/b;
               System.out.println(sum);
           }
           if(op.equals(end)){
               break;
           }
       }
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a ; a String op ; op int b ; b int sum=0; sum 0 String tasu = "+" ; tasu "+" String hiku = "-" ; hiku "-" String kake = "*" ; kake "*" String waru = "/" ; waru "/" String end = "?" ; end "?" while(true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if(op.equals(tasu)){
               sum=a+b;
               System.out.println(sum);
           }
           if(op.equals(hiku)){
               sum=a-b;
               System.out.println(sum);
           }
           if(op.equals(kake)){
               sum=a*b;
               System.out.println(sum);
           }
           if(op.equals(waru)){
               sum=a/b;
               System.out.println(sum);
           }
           if(op.equals(end)){
               break;
           }
       } true {
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if(op.equals(tasu)){
               sum=a+b;
               System.out.println(sum);
           }
           if(op.equals(hiku)){
               sum=a-b;
               System.out.println(sum);
           }
           if(op.equals(kake)){
               sum=a*b;
               System.out.println(sum);
           }
           if(op.equals(waru)){
               sum=a/b;
               System.out.println(sum);
           }
           if(op.equals(end)){
               break;
           }
       } a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc if(op.equals(tasu)){
               sum=a+b;
               System.out.println(sum);
           } op.equals(tasu) op.equals op tasu {
               sum=a+b;
               System.out.println(sum);
           } sum=a+b sum a+b a b System.out.println(sum) System.out.println System.out System System.out sum if(op.equals(hiku)){
               sum=a-b;
               System.out.println(sum);
           } op.equals(hiku) op.equals op hiku {
               sum=a-b;
               System.out.println(sum);
           } sum=a-b sum a-b a b System.out.println(sum) System.out.println System.out System System.out sum if(op.equals(kake)){
               sum=a*b;
               System.out.println(sum);
           } op.equals(kake) op.equals op kake {
               sum=a*b;
               System.out.println(sum);
           } sum=a*b sum a*b a b System.out.println(sum) System.out.println System.out System System.out sum if(op.equals(waru)){
               sum=a/b;
               System.out.println(sum);
           } op.equals(waru) op.equals op waru {
               sum=a/b;
               System.out.println(sum);
           } sum=a/b sum a/b a b System.out.println(sum) System.out.println System.out System System.out sum if(op.equals(end)){
               break;
           } op.equals(end) op.equals op end {
               break;
           } break; String[] args args public class Main {
   public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
       
            int a ;
            String op ;
            int b ;
       
            int sum=0;
       
            String tasu = "+" ;
            String hiku = "-" ;
            String kake = "*" ;
            String waru = "/" ;
            String end = "?" ;
       
       while(true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if(op.equals(tasu)){
               sum=a+b;
               System.out.println(sum);
           }
           if(op.equals(hiku)){
               sum=a-b;
               System.out.println(sum);
           }
           if(op.equals(kake)){
               sum=a*b;
               System.out.println(sum);
           }
           if(op.equals(waru)){
               sum=a/b;
               System.out.println(sum);
           }
           if(op.equals(end)){
               break;
           }
       }
   }
 } public class Main {
   public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
       
            int a ;
            String op ;
            int b ;
       
            int sum=0;
       
            String tasu = "+" ;
            String hiku = "-" ;
            String kake = "*" ;
            String waru = "/" ;
            String end = "?" ;
       
       while(true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if(op.equals(tasu)){
               sum=a+b;
               System.out.println(sum);
           }
           if(op.equals(hiku)){
               sum=a-b;
               System.out.println(sum);
           }
           if(op.equals(kake)){
               sum=a*b;
               System.out.println(sum);
           }
           if(op.equals(waru)){
               sum=a/b;
               System.out.println(sum);
           }
           if(op.equals(end)){
               break;
           }
       }
   }
 } Main
import java.util.Scanner; 
 public class Main {
   public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
       
            int a ;
            String op ;
            int b ;
       
            int sum=0;
       
            String tasu = "+" ;
            String hiku = "-" ;
            String kake = "*" ;
            String waru = "/" ;
            String end = "?" ;
       
       while(true){
           a = sc.nextInt();
           op = sc.next();
           b = sc.nextInt();
           if(op.equals(tasu)){
               sum=a+b;
               System.out.println(sum);
           }
           if(op.equals(hiku)){
               sum=a-b;
               System.out.println(sum);
           }
           if(op.equals(kake)){
               sum=a*b;
               System.out.println(sum);
           }
           if(op.equals(waru)){
               sum=a/b;
               System.out.println(sum);
           }
           if(op.equals(end)){
               break;
           }
       }
   }
 }
