import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

        while(true){
        	int ans = 0;
        	String[] input = br.readLine().split(" "); 
            int a = Integer.parseInt(input[0]);
            String op = input[1]; 
            int b = Integer.parseInt(input[2]);
            if(op.equals ("+")){
            	ans = a + b;
            }else if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            }
            System.out.println(ans);
        }
        
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

        while(true){
        	int ans = 0;
        	String[] input = br.readLine().split(" "); 
            int a = Integer.parseInt(input[0]);
            String op = input[1]; 
            int b = Integer.parseInt(input[2]);
            if(op.equals ("+")){
            	ans = a + b;
            }else if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            }
            System.out.println(ans);
        }
        
    }
} Main public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

        while(true){
        	int ans = 0;
        	String[] input = br.readLine().split(" "); 
            int a = Integer.parseInt(input[0]);
            String op = input[1]; 
            int b = Integer.parseInt(input[2]);
            if(op.equals ("+")){
            	ans = a + b;
            }else if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            }
            System.out.println(ans);
        }
        
    } main {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

        while(true){
        	int ans = 0;
        	String[] input = br.readLine().split(" "); 
            int a = Integer.parseInt(input[0]);
            String op = input[1]; 
            int b = Integer.parseInt(input[2]);
            if(op.equals ("+")){
            	ans = a + b;
            }else if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            }
            System.out.println(ans);
        }
        
    } InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) while(true){
        	int ans = 0;
        	String[] input = br.readLine().split(" "); 
            int a = Integer.parseInt(input[0]);
            String op = input[1]; 
            int b = Integer.parseInt(input[2]);
            if(op.equals ("+")){
            	ans = a + b;
            }else if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            }
            System.out.println(ans);
        } true {
        	int ans = 0;
        	String[] input = br.readLine().split(" "); 
            int a = Integer.parseInt(input[0]);
            String op = input[1]; 
            int b = Integer.parseInt(input[2]);
            if(op.equals ("+")){
            	ans = a + b;
            }else if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            }
            System.out.println(ans);
        } int ans = 0; ans 0 String[] input = br.readLine().split(" "); input br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(input[0]); a Integer.parseInt(input[0]) Integer.parseInt Integer input[0] input 0 String op = input[1]; op input[1] input 1 int b = Integer.parseInt(input[2]); b Integer.parseInt(input[2]) Integer.parseInt Integer input[2] input 2 if(op.equals ("+")){
            	ans = a + b;
            }else if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            } op.equals ("+") op.equals op "+" {
            	ans = a + b;
            } ans = a + b ans a + b a b if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            } op.equals ("-") op.equals op "-" {
            	ans = a - b;
            } ans = a - b ans a - b a b if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            } op.equals ("*") op.equals op "*" {
            	ans = a * b;
            } ans = a * b ans a * b a b if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            } op.equals ("/") op.equals op "/" {
            	ans = a / b;
            } ans = a / b ans a / b a b {
            	break;
            } break; System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {
    public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

        while(true){
        	int ans = 0;
        	String[] input = br.readLine().split(" "); 
            int a = Integer.parseInt(input[0]);
            String op = input[1]; 
            int b = Integer.parseInt(input[2]);
            if(op.equals ("+")){
            	ans = a + b;
            }else if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            }
            System.out.println(ans);
        }
        
    }
} public class Main {
    public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

        while(true){
        	int ans = 0;
        	String[] input = br.readLine().split(" "); 
            int a = Integer.parseInt(input[0]);
            String op = input[1]; 
            int b = Integer.parseInt(input[2]);
            if(op.equals ("+")){
            	ans = a + b;
            }else if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            }
            System.out.println(ans);
        }
        
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args)throws Exception {
    	InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);

        while(true){
        	int ans = 0;
        	String[] input = br.readLine().split(" "); 
            int a = Integer.parseInt(input[0]);
            String op = input[1]; 
            int b = Integer.parseInt(input[2]);
            if(op.equals ("+")){
            	ans = a + b;
            }else if(op.equals ("-")){
            	ans = a - b;
            }else if(op.equals ("*")){
            	ans = a * b;
            }else if(op.equals ("/")){
            	ans = a / b;
            }else{
            	break;
            }
            System.out.println(ans);
        }
        
    }
}