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



class Main {

	public static void main(String[] args) {
		try {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		
		while(true) {
			String[] str = buf.readLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			String operator = str[1];
			if(operator.equals("+")) { 
				  System.out.println(a + b);
			 }else if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				}
			}
		}catch(IOException e) {
			e.printStackTrace();
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io class Main {

	public static void main(String[] args) {
		try {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		
		while(true) {
			String[] str = buf.readLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			String operator = str[1];
			if(operator.equals("+")) { 
				  System.out.println(a + b);
			 }else if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				}
			}
		}catch(IOException e) {
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		try {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		
		while(true) {
			String[] str = buf.readLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			String operator = str[1];
			if(operator.equals("+")) { 
				  System.out.println(a + b);
			 }else if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				}
			}
		}catch(IOException e) {
			e.printStackTrace();
		}
	} main {
		try {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		
		while(true) {
			String[] str = buf.readLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			String operator = str[1];
			if(operator.equals("+")) { 
				  System.out.println(a + b);
			 }else if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				}
			}
		}catch(IOException e) {
			e.printStackTrace();
		}
	} try {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		
		while(true) {
			String[] str = buf.readLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			String operator = str[1];
			if(operator.equals("+")) { 
				  System.out.println(a + b);
			 }else if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				}
			}
		}catch(IOException e) {
			e.printStackTrace();
		} catch(IOException e) {
			e.printStackTrace();
		} IOException e {
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		
		while(true) {
			String[] str = buf.readLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			String operator = str[1];
			if(operator.equals("+")) { 
				  System.out.println(a + b);
			 }else if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				}
			}
		} BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); buf new BufferedReader(new InputStreamReader(System.in)) while(true) {
			String[] str = buf.readLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			String operator = str[1];
			if(operator.equals("+")) { 
				  System.out.println(a + b);
			 }else if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				}
			} true {
			String[] str = buf.readLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			String operator = str[1];
			if(operator.equals("+")) { 
				  System.out.println(a + b);
			 }else if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				}
			} String[] str = buf.readLine().split(" "); str buf.readLine().split(" ") buf.readLine().split buf.readLine() buf.readLine buf " " int a = Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int b = Integer.parseInt(str[2]); b Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 String operator = str[1]; operator str[1] str 1 if(operator.equals("+")) { 
				  System.out.println(a + b);
			 }else if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				} operator.equals("+") operator.equals operator "+" { 
				  System.out.println(a + b);
			 } System.out.println(a + b) System.out.println System.out System System.out a + b a b if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				} operator.equals("-") operator.equals operator "-" { 
				  System.out.println(a - b);
			 } System.out.println(a - b) System.out.println System.out System System.out a - b a b if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				} operator.equals("*") operator.equals operator "*" { 
				  System.out.println(a * b);
			 } System.out.println(a * b) System.out.println System.out System System.out a * b a b if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				} operator.equals("/") operator.equals operator "/" { 
				  System.out.println(a / b);
			 } System.out.println(a / b) System.out.println System.out System System.out a / b a b if(operator.equals("?")) {
				break;			
			 }else {
					return;
				} operator.equals("?") operator.equals operator "?" {
				break;			
			 } break; {
					return;
				} return; String[] args args
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;



class Main {

	public static void main(String[] args) {
		try {
		BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
		
		while(true) {
			String[] str = buf.readLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			String operator = str[1];
			if(operator.equals("+")) { 
				  System.out.println(a + b);
			 }else if(operator.equals("-")) { 
				  System.out.println(a - b);
			 }else if(operator.equals("*")) { 
				  System.out.println(a * b);
			 }else 	if(operator.equals("/")) { 
				  System.out.println(a / b);
			 }else if(operator.equals("?")) {
				break;			
			 }else {
					return;
				}
			}
		}catch(IOException e) {
			e.printStackTrace();
		}
	}
}