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

public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String str = br.readLine();
			String[] s = str.split(" ");

			int a = Integer.parseInt(s[0]);
			String b = (s[1]);
			int c = Integer.parseInt(s[2]);

			if(b.equalsIgnoreCase("?")){
				break;
			}

			if(b.equals("+")){
				System.out.println((a + c));
			}else if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			}
			continue;
		}
	}
} 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{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String str = br.readLine();
			String[] s = str.split(" ");

			int a = Integer.parseInt(s[0]);
			String b = (s[1]);
			int c = Integer.parseInt(s[2]);

			if(b.equalsIgnoreCase("?")){
				break;
			}

			if(b.equals("+")){
				System.out.println((a + c));
			}else if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			}
			continue;
		}
	}
} Main public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String str = br.readLine();
			String[] s = str.split(" ");

			int a = Integer.parseInt(s[0]);
			String b = (s[1]);
			int c = Integer.parseInt(s[2]);

			if(b.equalsIgnoreCase("?")){
				break;
			}

			if(b.equals("+")){
				System.out.println((a + c));
			}else if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			}
			continue;
		}
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String str = br.readLine();
			String[] s = str.split(" ");

			int a = Integer.parseInt(s[0]);
			String b = (s[1]);
			int c = Integer.parseInt(s[2]);

			if(b.equalsIgnoreCase("?")){
				break;
			}

			if(b.equals("+")){
				System.out.println((a + c));
			}else if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			}
			continue;
		}
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while(true){
			String str = br.readLine();
			String[] s = str.split(" ");

			int a = Integer.parseInt(s[0]);
			String b = (s[1]);
			int c = Integer.parseInt(s[2]);

			if(b.equalsIgnoreCase("?")){
				break;
			}

			if(b.equals("+")){
				System.out.println((a + c));
			}else if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			}
			continue;
		} true {
			String str = br.readLine();
			String[] s = str.split(" ");

			int a = Integer.parseInt(s[0]);
			String b = (s[1]);
			int c = Integer.parseInt(s[2]);

			if(b.equalsIgnoreCase("?")){
				break;
			}

			if(b.equals("+")){
				System.out.println((a + c));
			}else if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			}
			continue;
		} String str = br.readLine(); str br.readLine() br.readLine br String[] s = str.split(" "); s str.split(" ") str.split str " " int a = Integer.parseInt(s[0]); a Integer.parseInt(s[0]) Integer.parseInt Integer s[0] s 0 String b = (s[1]); b (s[1]) s 1 int c = Integer.parseInt(s[2]); c Integer.parseInt(s[2]) Integer.parseInt Integer s[2] s 2 if(b.equalsIgnoreCase("?")){
				break;
			} b.equalsIgnoreCase("?") b.equalsIgnoreCase b "?" {
				break;
			} break; if(b.equals("+")){
				System.out.println((a + c));
			}else if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			} b.equals("+") b.equals b "+" {
				System.out.println((a + c));
			} System.out.println((a + c)) System.out.println System.out System System.out (a + c) a c if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			} b.equals("-") b.equals b "-" {
				System.out.println((a - c));
			} System.out.println((a - c)) System.out.println System.out System System.out (a - c) a c if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			} b.equals("*") b.equals b "*" {
				System.out.println((a * c));
			} System.out.println((a * c)) System.out.println System.out System System.out (a * c) a c if(b.equals("/")){
				System.out.println((a / c));
			} b.equals("/") b.equals b "/" {
				System.out.println((a / c));
			} System.out.println((a / c)) System.out.println System.out System System.out (a / c) a c continue; String[] args args public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String str = br.readLine();
			String[] s = str.split(" ");

			int a = Integer.parseInt(s[0]);
			String b = (s[1]);
			int c = Integer.parseInt(s[2]);

			if(b.equalsIgnoreCase("?")){
				break;
			}

			if(b.equals("+")){
				System.out.println((a + c));
			}else if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			}
			continue;
		}
	}
} public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String str = br.readLine();
			String[] s = str.split(" ");

			int a = Integer.parseInt(s[0]);
			String b = (s[1]);
			int c = Integer.parseInt(s[2]);

			if(b.equalsIgnoreCase("?")){
				break;
			}

			if(b.equals("+")){
				System.out.println((a + c));
			}else if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			}
			continue;
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args)throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String str = br.readLine();
			String[] s = str.split(" ");

			int a = Integer.parseInt(s[0]);
			String b = (s[1]);
			int c = Integer.parseInt(s[2]);

			if(b.equalsIgnoreCase("?")){
				break;
			}

			if(b.equals("+")){
				System.out.println((a + c));
			}else if(b.equals("-")){
				System.out.println((a - c));
			}else if(b.equals("*")){
				System.out.println((a * c));
			}else if(b.equals("/")){
				System.out.println((a / c));
			}
			continue;
		}
	}
}