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

public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int y , x;
        while (true)
        {
        String z;
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[2]);
        	z = list[1];
        	
        	if (z.equals("?"))
        		break;
        	else if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y);
        		
        }	
	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int y , x;
        while (true)
        {
        String z;
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[2]);
        	z = list[1];
        	
        	if (z.equals("?"))
        		break;
        	else if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y);
        		
        }	
	}

} Main public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int y , x;
        while (true)
        {
        String z;
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[2]);
        	z = list[1];
        	
        	if (z.equals("?"))
        		break;
        	else if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y);
        		
        }	
	} main {
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int y , x;
        while (true)
        {
        String z;
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[2]);
        	z = list[1];
        	
        	if (z.equals("?"))
        		break;
        	else if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y);
        		
        }	
	} InputStreamReader isr = new InputStreamReader(System.in); isr new InputStreamReader(System.in) BufferedReader br = new BufferedReader(isr); br new BufferedReader(isr) int y y x; x while (true)
        {
        String z;
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[2]);
        	z = list[1];
        	
        	if (z.equals("?"))
        		break;
        	else if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y);
        		
        } true {
        String z;
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[2]);
        	z = list[1];
        	
        	if (z.equals("?"))
        		break;
        	else if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y);
        		
        } String z; z String[] list = br.readLine().split(" "); list br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " x = Integer.parseInt(list[0]) x Integer.parseInt(list[0]) Integer.parseInt Integer list[0] list 0 y = Integer.parseInt(list[2]) y Integer.parseInt(list[2]) Integer.parseInt Integer list[2] list 2 z = list[1] z list[1] list 1 if (z.equals("?"))
        		break;
        	else if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y); z.equals("?") z.equals z "?" break; if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y); z.equals("+") z.equals z "+" System.out.println(x + y) System.out.println System.out System System.out x + y x y if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y); z.equals("-") z.equals z "-" System.out.println(x - y) System.out.println System.out System System.out x - y x y if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y); z.equals("*") z.equals z "*" System.out.println(x * y) System.out.println System.out System System.out x * y x y if (z.equals("/"))
        		System.out.println(x / y); z.equals("/") z.equals z "/" System.out.println(x / y) System.out.println System.out System System.out x / y x y String[] args args public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int y , x;
        while (true)
        {
        String z;
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[2]);
        	z = list[1];
        	
        	if (z.equals("?"))
        		break;
        	else if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y);
        		
        }	
	}

} public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int y , x;
        while (true)
        {
        String z;
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[2]);
        	z = list[1];
        	
        	if (z.equals("?"))
        		break;
        	else if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y);
        		
        }	
	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args)throws IOException{
		InputStreamReader isr = new InputStreamReader(System.in);
        BufferedReader br = new BufferedReader(isr);
        int y , x;
        while (true)
        {
        String z;
        	String[] list = br.readLine().split(" ");
        	x = Integer.parseInt(list[0]);
        	y = Integer.parseInt(list[2]);
        	z = list[1];
        	
        	if (z.equals("?"))
        		break;
        	else if (z.equals("+"))
        		System.out.println(x + y);
        	else if (z.equals("-"))
        		System.out.println(x - y);
        	else if (z.equals("*"))
        		System.out.println(x * y);
        	else if (z.equals("/"))
        		System.out.println(x / y);
        		
        }	
	}

}