import java.util.Scanner;
 
class Main{
  public static void main(String[] arg){
    int a, b, ans = 0;
    String op;
    Scanner in = new Scanner(System.in);

    while(true){
        a = in.nextInt();
        op = in.next();
        b = in.nextInt();

        if("?".equals(op)){
            return;
        }else if("+".equals(op)){
            ans = a + b;
            System.out.println(ans);
        }else if("-".equals(op)){
            ans = a - b;
            System.out.println(ans);
        }else if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        }
    }

    
  }
} import java.util.Scanner; Scanner java.util class Main{
  public static void main(String[] arg){
    int a, b, ans = 0;
    String op;
    Scanner in = new Scanner(System.in);

    while(true){
        a = in.nextInt();
        op = in.next();
        b = in.nextInt();

        if("?".equals(op)){
            return;
        }else if("+".equals(op)){
            ans = a + b;
            System.out.println(ans);
        }else if("-".equals(op)){
            ans = a - b;
            System.out.println(ans);
        }else if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        }
    }

    
  }
} Main public static void main(String[] arg){
    int a, b, ans = 0;
    String op;
    Scanner in = new Scanner(System.in);

    while(true){
        a = in.nextInt();
        op = in.next();
        b = in.nextInt();

        if("?".equals(op)){
            return;
        }else if("+".equals(op)){
            ans = a + b;
            System.out.println(ans);
        }else if("-".equals(op)){
            ans = a - b;
            System.out.println(ans);
        }else if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        }
    }

    
  } main {
    int a, b, ans = 0;
    String op;
    Scanner in = new Scanner(System.in);

    while(true){
        a = in.nextInt();
        op = in.next();
        b = in.nextInt();

        if("?".equals(op)){
            return;
        }else if("+".equals(op)){
            ans = a + b;
            System.out.println(ans);
        }else if("-".equals(op)){
            ans = a - b;
            System.out.println(ans);
        }else if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        }
    }

    
  } int a a b b ans = 0; ans 0 String op; op Scanner in = new Scanner(System.in); in new Scanner(System.in) while(true){
        a = in.nextInt();
        op = in.next();
        b = in.nextInt();

        if("?".equals(op)){
            return;
        }else if("+".equals(op)){
            ans = a + b;
            System.out.println(ans);
        }else if("-".equals(op)){
            ans = a - b;
            System.out.println(ans);
        }else if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        }
    } true {
        a = in.nextInt();
        op = in.next();
        b = in.nextInt();

        if("?".equals(op)){
            return;
        }else if("+".equals(op)){
            ans = a + b;
            System.out.println(ans);
        }else if("-".equals(op)){
            ans = a - b;
            System.out.println(ans);
        }else if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        }
    } a = in.nextInt() a in.nextInt() in.nextInt in op = in.next() op in.next() in.next in b = in.nextInt() b in.nextInt() in.nextInt in if("?".equals(op)){
            return;
        }else if("+".equals(op)){
            ans = a + b;
            System.out.println(ans);
        }else if("-".equals(op)){
            ans = a - b;
            System.out.println(ans);
        }else if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        } "?".equals(op) "?".equals "?" op {
            return;
        } return; if("+".equals(op)){
            ans = a + b;
            System.out.println(ans);
        }else if("-".equals(op)){
            ans = a - b;
            System.out.println(ans);
        }else if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        } "+".equals(op) "+".equals "+" op {
            ans = a + b;
            System.out.println(ans);
        } ans = a + b ans a + b a b System.out.println(ans) System.out.println System.out System System.out ans if("-".equals(op)){
            ans = a - b;
            System.out.println(ans);
        }else if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        } "-".equals(op) "-".equals "-" op {
            ans = a - b;
            System.out.println(ans);
        } ans = a - b ans a - b a b System.out.println(ans) System.out.println System.out System System.out ans if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        } "*".equals(op) "*".equals "*" op {
            ans = a * b;
            System.out.println(ans);
        } ans = a * b ans a * b a b System.out.println(ans) System.out.println System.out System System.out ans if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        } "/".equals(op) "/".equals "/" op {
            ans = a / b;
            System.out.println(ans);
        } ans = a / b ans a / b a b System.out.println(ans) System.out.println System.out System System.out ans String[] arg arg
import java.util.Scanner;
 
class Main{
  public static void main(String[] arg){
    int a, b, ans = 0;
    String op;
    Scanner in = new Scanner(System.in);

    while(true){
        a = in.nextInt();
        op = in.next();
        b = in.nextInt();

        if("?".equals(op)){
            return;
        }else if("+".equals(op)){
            ans = a + b;
            System.out.println(ans);
        }else if("-".equals(op)){
            ans = a - b;
            System.out.println(ans);
        }else if("*".equals(op)){
            ans = a * b;
            System.out.println(ans);
        }else if("/".equals(op)){
            ans = a / b;
            System.out.println(ans);
        }
    }

    
  }
}