import java.util.Scanner;

public class Main {

public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(true){
            int a   = sc.nextInt();
            char op = sc.next().charAt(0);
            int b   = sc.nextInt();
            
            if(op == '?'){
                break;
            }
            
            switch(op){
            case '+':
                System.out.println(a + b);
                break;
            
            case '-':
                System.out.println(a - b);
                break;
            
            case '*':
                System.out.println(a * b);
                break;
            
            case '/':
                System.out.println(a / b);
                break;
            }
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {

public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(true){
            int a   = sc.nextInt();
            char op = sc.next().charAt(0);
            int b   = sc.nextInt();
            
            if(op == '?'){
                break;
            }
            
            switch(op){
            case '+':
                System.out.println(a + b);
                break;
            
            case '-':
                System.out.println(a - b);
                break;
            
            case '*':
                System.out.println(a * b);
                break;
            
            case '/':
                System.out.println(a / b);
                break;
            }
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(true){
            int a   = sc.nextInt();
            char op = sc.next().charAt(0);
            int b   = sc.nextInt();
            
            if(op == '?'){
                break;
            }
            
            switch(op){
            case '+':
                System.out.println(a + b);
                break;
            
            case '-':
                System.out.println(a - b);
                break;
            
            case '*':
                System.out.println(a * b);
                break;
            
            case '/':
                System.out.println(a / b);
                break;
            }
        }
    } main {
        Scanner sc = new Scanner(System.in);
        while(true){
            int a   = sc.nextInt();
            char op = sc.next().charAt(0);
            int b   = sc.nextInt();
            
            if(op == '?'){
                break;
            }
            
            switch(op){
            case '+':
                System.out.println(a + b);
                break;
            
            case '-':
                System.out.println(a - b);
                break;
            
            case '*':
                System.out.println(a * b);
                break;
            
            case '/':
                System.out.println(a / b);
                break;
            }
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true){
            int a   = sc.nextInt();
            char op = sc.next().charAt(0);
            int b   = sc.nextInt();
            
            if(op == '?'){
                break;
            }
            
            switch(op){
            case '+':
                System.out.println(a + b);
                break;
            
            case '-':
                System.out.println(a - b);
                break;
            
            case '*':
                System.out.println(a * b);
                break;
            
            case '/':
                System.out.println(a / b);
                break;
            }
        } true {
            int a   = sc.nextInt();
            char op = sc.next().charAt(0);
            int b   = sc.nextInt();
            
            if(op == '?'){
                break;
            }
            
            switch(op){
            case '+':
                System.out.println(a + b);
                break;
            
            case '-':
                System.out.println(a - b);
                break;
            
            case '*':
                System.out.println(a * b);
                break;
            
            case '/':
                System.out.println(a / b);
                break;
            }
        } int a   = sc.nextInt(); a sc.nextInt() sc.nextInt sc char op = sc.next().charAt(0); op sc.next().charAt(0) sc.next().charAt sc.next() sc.next sc 0 int b   = sc.nextInt(); b sc.nextInt() sc.nextInt sc if(op == '?'){
                break;
            } op == '?' op '?' {
                break;
            } break; switch(op){
            case '+':
                System.out.println(a + b);
                break;
            
            case '-':
                System.out.println(a - b);
                break;
            
            case '*':
                System.out.println(a * b);
                break;
            
            case '/':
                System.out.println(a / b);
                break;
            } op case '+': '+' case '+': System.out.println(a + b) System.out.println System.out System System.out a + b a b break; case '-': '-' case '-': System.out.println(a - b) System.out.println System.out System System.out a - b a b break; case '*': '*' case '*': System.out.println(a * b) System.out.println System.out System System.out a * b a b break; case '/': '/' case '/': System.out.println(a / b) System.out.println System.out System System.out a / b a b break; String[] args args public class Main {

public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(true){
            int a   = sc.nextInt();
            char op = sc.next().charAt(0);
            int b   = sc.nextInt();
            
            if(op == '?'){
                break;
            }
            
            switch(op){
            case '+':
                System.out.println(a + b);
                break;
            
            case '-':
                System.out.println(a - b);
                break;
            
            case '*':
                System.out.println(a * b);
                break;
            
            case '/':
                System.out.println(a / b);
                break;
            }
        }
    }
} public class Main {

public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(true){
            int a   = sc.nextInt();
            char op = sc.next().charAt(0);
            int b   = sc.nextInt();
            
            if(op == '?'){
                break;
            }
            
            switch(op){
            case '+':
                System.out.println(a + b);
                break;
            
            case '-':
                System.out.println(a - b);
                break;
            
            case '*':
                System.out.println(a * b);
                break;
            
            case '/':
                System.out.println(a / b);
                break;
            }
        }
    }
} Main
import java.util.Scanner;

public class Main {

public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(true){
            int a   = sc.nextInt();
            char op = sc.next().charAt(0);
            int b   = sc.nextInt();
            
            if(op == '?'){
                break;
            }
            
            switch(op){
            case '+':
                System.out.println(a + b);
                break;
            
            case '-':
                System.out.println(a - b);
                break;
            
            case '*':
                System.out.println(a * b);
                break;
            
            case '/':
                System.out.println(a / b);
                break;
            }
        }
    }
}
