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();
        String op=sc.next();
        int b=sc.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 if(op.equals("?")){
        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();
        String op=sc.next();
        int b=sc.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 if(op.equals("?")){
        break;
    	}
    	}
    }
} Main public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);


    	while(true){
    	int	a=sc.nextInt();
        String op=sc.next();
        int b=sc.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 if(op.equals("?")){
        break;
    	}
    	}
    } main {
    	Scanner sc = new Scanner(System.in);


    	while(true){
    	int	a=sc.nextInt();
        String op=sc.next();
        int b=sc.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 if(op.equals("?")){
        break;
    	}
    	}
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true){
    	int	a=sc.nextInt();
        String op=sc.next();
        int b=sc.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 if(op.equals("?")){
        break;
    	}
    	} true {
    	int	a=sc.nextInt();
        String op=sc.next();
        int b=sc.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 if(op.equals("?")){
        break;
    	}
    	} int	a=sc.nextInt(); a sc.nextInt() sc.nextInt sc String op=sc.next(); op sc.next() sc.next sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc 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 if(op.equals("?")){
        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 if(op.equals("?")){
        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("?")){
        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("?")){
        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("?")){
        break;
    	} op.equals("?") op.equals op "?" {
        break;
    	} 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();
        String op=sc.next();
        int b=sc.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 if(op.equals("?")){
        break;
    	}
    	}
    }
} public class Main{
    public static void main(String[] args){
    	Scanner sc = new Scanner(System.in);


    	while(true){
    	int	a=sc.nextInt();
        String op=sc.next();
        int b=sc.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 if(op.equals("?")){
        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();
        String op=sc.next();
        int b=sc.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 if(op.equals("?")){
        break;
    	}
    	}
    }
}

