import java.util.Scanner;

class Main{
    public static void main(String[] args){
        int a,b,answer;
        String op;
    	//?¨??????\??????????????????????????§????????????
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			a  = scanner.nextInt();
			op = scanner.next();
			b  = scanner.nextInt();
			
			if(op.equals("+")){
				System.out.println(a+b);
			}
			else if(op.equals("-")){
				System.out.println(a-b);
			}
			else if(op.equals("*")){
				System.out.println(a*b);
			}
			else if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			}
		}
    	scanner.close();
    }
} import java.util.Scanner; Scanner java.util class Main{
    public static void main(String[] args){
        int a,b,answer;
        String op;
    	//?¨??????\??????????????????????????§????????????
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			a  = scanner.nextInt();
			op = scanner.next();
			b  = scanner.nextInt();
			
			if(op.equals("+")){
				System.out.println(a+b);
			}
			else if(op.equals("-")){
				System.out.println(a-b);
			}
			else if(op.equals("*")){
				System.out.println(a*b);
			}
			else if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			}
		}
    	scanner.close();
    }
} Main public static void main(String[] args){
        int a,b,answer;
        String op;
    	//?¨??????\??????????????????????????§????????????
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			a  = scanner.nextInt();
			op = scanner.next();
			b  = scanner.nextInt();
			
			if(op.equals("+")){
				System.out.println(a+b);
			}
			else if(op.equals("-")){
				System.out.println(a-b);
			}
			else if(op.equals("*")){
				System.out.println(a*b);
			}
			else if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			}
		}
    	scanner.close();
    } main {
        int a,b,answer;
        String op;
    	//?¨??????\??????????????????????????§????????????
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			a  = scanner.nextInt();
			op = scanner.next();
			b  = scanner.nextInt();
			
			if(op.equals("+")){
				System.out.println(a+b);
			}
			else if(op.equals("-")){
				System.out.println(a-b);
			}
			else if(op.equals("*")){
				System.out.println(a*b);
			}
			else if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			}
		}
    	scanner.close();
    } int a a b b answer; answer String op; op Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) while(true){
			a  = scanner.nextInt();
			op = scanner.next();
			b  = scanner.nextInt();
			
			if(op.equals("+")){
				System.out.println(a+b);
			}
			else if(op.equals("-")){
				System.out.println(a-b);
			}
			else if(op.equals("*")){
				System.out.println(a*b);
			}
			else if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			}
		} true {
			a  = scanner.nextInt();
			op = scanner.next();
			b  = scanner.nextInt();
			
			if(op.equals("+")){
				System.out.println(a+b);
			}
			else if(op.equals("-")){
				System.out.println(a-b);
			}
			else if(op.equals("*")){
				System.out.println(a*b);
			}
			else if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			}
		} a  = scanner.nextInt() a scanner.nextInt() scanner.nextInt scanner op = scanner.next() op scanner.next() scanner.next scanner b  = scanner.nextInt() b scanner.nextInt() scanner.nextInt scanner if(op.equals("+")){
				System.out.println(a+b);
			}
			else if(op.equals("-")){
				System.out.println(a-b);
			}
			else if(op.equals("*")){
				System.out.println(a*b);
			}
			else if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			} op.equals("+") op.equals op "+" {
				System.out.println(a+b);
			} System.out.println(a+b) System.out.println System.out System System.out a+b a b if(op.equals("-")){
				System.out.println(a-b);
			}
			else if(op.equals("*")){
				System.out.println(a*b);
			}
			else if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			} op.equals("-") op.equals op "-" {
				System.out.println(a-b);
			} System.out.println(a-b) System.out.println System.out System System.out a-b a b if(op.equals("*")){
				System.out.println(a*b);
			}
			else if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			} op.equals("*") op.equals op "*" {
				System.out.println(a*b);
			} System.out.println(a*b) System.out.println System.out System System.out a*b a b if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			} op.equals("/") op.equals op "/" {
				System.out.println(a/b);
			} System.out.println(a/b) System.out.println System.out System System.out a/b a b {
				break;
			} break; scanner.close() scanner.close scanner String[] args args
import java.util.Scanner;

class Main{
    public static void main(String[] args){
        int a,b,answer;
        String op;
    	//?¨??????\??????????????????????????§????????????
		Scanner scanner = new Scanner(System.in);
		
		while(true){
			a  = scanner.nextInt();
			op = scanner.next();
			b  = scanner.nextInt();
			
			if(op.equals("+")){
				System.out.println(a+b);
			}
			else if(op.equals("-")){
				System.out.println(a-b);
			}
			else if(op.equals("*")){
				System.out.println(a*b);
			}
			else if(op.equals("/")){
				System.out.println(a/b);
			}
			else{
				break;
			}
		}
    	scanner.close();
    }
}