import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
	
	public static void main(String[] args) throws IOException {
		InputReader in = new InputReader(System.in);

		while (true) {
			int a =in.readInt();
			String op =in.read();
			if (op.equals("?")) break;
			int b =in.readInt();
			
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b ;
				break;
			case "-":
				ans = a - b ;
				break;		
			case "*":
				ans = a * b ;
				break;	
			case "/":
				ans = a / b ;
				break;	
			}
			System.out.println(ans);
		}
	}	
}

class InputReader{
	private BufferedReader br;
	private StringTokenizer buffer;
	
	public InputReader(InputStream in) {
		br = new BufferedReader(new InputStreamReader(in));
	}
	
	public String read() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return buffer.nextToken();
	}
	
	public int readInt() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return Integer.parseInt(buffer.nextToken());
	}
	
	public double readDouble() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return Double.parseDouble(buffer.nextToken());
	}	
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStream; InputStream java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.StringTokenizer; StringTokenizer java.util public class Main {
	
	public static void main(String[] args) throws IOException {
		InputReader in = new InputReader(System.in);

		while (true) {
			int a =in.readInt();
			String op =in.read();
			if (op.equals("?")) break;
			int b =in.readInt();
			
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b ;
				break;
			case "-":
				ans = a - b ;
				break;		
			case "*":
				ans = a * b ;
				break;	
			case "/":
				ans = a / b ;
				break;	
			}
			System.out.println(ans);
		}
	}	
} Main public static void main(String[] args) throws IOException {
		InputReader in = new InputReader(System.in);

		while (true) {
			int a =in.readInt();
			String op =in.read();
			if (op.equals("?")) break;
			int b =in.readInt();
			
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b ;
				break;
			case "-":
				ans = a - b ;
				break;		
			case "*":
				ans = a * b ;
				break;	
			case "/":
				ans = a / b ;
				break;	
			}
			System.out.println(ans);
		}
	} main {
		InputReader in = new InputReader(System.in);

		while (true) {
			int a =in.readInt();
			String op =in.read();
			if (op.equals("?")) break;
			int b =in.readInt();
			
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b ;
				break;
			case "-":
				ans = a - b ;
				break;		
			case "*":
				ans = a * b ;
				break;	
			case "/":
				ans = a / b ;
				break;	
			}
			System.out.println(ans);
		}
	} InputReader in = new InputReader(System.in); in new InputReader(System.in) while (true) {
			int a =in.readInt();
			String op =in.read();
			if (op.equals("?")) break;
			int b =in.readInt();
			
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b ;
				break;
			case "-":
				ans = a - b ;
				break;		
			case "*":
				ans = a * b ;
				break;	
			case "/":
				ans = a / b ;
				break;	
			}
			System.out.println(ans);
		} true {
			int a =in.readInt();
			String op =in.read();
			if (op.equals("?")) break;
			int b =in.readInt();
			
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b ;
				break;
			case "-":
				ans = a - b ;
				break;		
			case "*":
				ans = a * b ;
				break;	
			case "/":
				ans = a / b ;
				break;	
			}
			System.out.println(ans);
		} int a =in.readInt(); a in.readInt() in.readInt in String op =in.read(); op in.read() in.read in if (op.equals("?")) break; op.equals("?") op.equals op "?" break; int b =in.readInt(); b in.readInt() in.readInt in int ans = 0; ans 0 switch (op) {
			case "+":
				ans = a + b ;
				break;
			case "-":
				ans = a - b ;
				break;		
			case "*":
				ans = a * b ;
				break;	
			case "/":
				ans = a / b ;
				break;	
			} op case "+": "+" case "+": ans = a + b ans a + b a b break; case "-": "-" case "-": ans = a - b ans a - b a b break; case "*": "*" case "*": ans = a * b ans a * b a b break; case "/": "/" case "/": ans = a / b ans a / b a b break; System.out.println(ans) System.out.println System.out System System.out ans String[] args args class InputReader{
	private BufferedReader br;
	private StringTokenizer buffer;
	
	public InputReader(InputStream in) {
		br = new BufferedReader(new InputStreamReader(in));
	}
	
	public String read() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return buffer.nextToken();
	}
	
	public int readInt() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return Integer.parseInt(buffer.nextToken());
	}
	
	public double readDouble() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return Double.parseDouble(buffer.nextToken());
	}	
} InputReader private BufferedReader br; br private StringTokenizer buffer; buffer public InputReader(InputStream in) {
		br = new BufferedReader(new InputStreamReader(in));
	} InputReader {
		br = new BufferedReader(new InputStreamReader(in));
	} br = new BufferedReader(new InputStreamReader(in)) br new BufferedReader(new InputStreamReader(in)) InputStream in in public String read() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return buffer.nextToken();
	} read {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return buffer.nextToken();
	} while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		} buffer == null || !buffer.hasMoreTokens() buffer == null buffer null !buffer.hasMoreTokens() buffer.hasMoreTokens() buffer.hasMoreTokens buffer {
			buffer = new StringTokenizer(br.readLine());
		} buffer = new StringTokenizer(br.readLine()) buffer new StringTokenizer(br.readLine()) return buffer.nextToken(); buffer.nextToken() buffer.nextToken buffer public int readInt() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return Integer.parseInt(buffer.nextToken());
	} readInt {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return Integer.parseInt(buffer.nextToken());
	} while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		} buffer == null || !buffer.hasMoreTokens() buffer == null buffer null !buffer.hasMoreTokens() buffer.hasMoreTokens() buffer.hasMoreTokens buffer {
			buffer = new StringTokenizer(br.readLine());
		} buffer = new StringTokenizer(br.readLine()) buffer new StringTokenizer(br.readLine()) return Integer.parseInt(buffer.nextToken()); Integer.parseInt(buffer.nextToken()) Integer.parseInt Integer buffer.nextToken() buffer.nextToken buffer public double readDouble() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return Double.parseDouble(buffer.nextToken());
	} readDouble {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return Double.parseDouble(buffer.nextToken());
	} while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		} buffer == null || !buffer.hasMoreTokens() buffer == null buffer null !buffer.hasMoreTokens() buffer.hasMoreTokens() buffer.hasMoreTokens buffer {
			buffer = new StringTokenizer(br.readLine());
		} buffer = new StringTokenizer(br.readLine()) buffer new StringTokenizer(br.readLine()) return Double.parseDouble(buffer.nextToken()); Double.parseDouble(buffer.nextToken()) Double.parseDouble Double buffer.nextToken() buffer.nextToken buffer public class Main {
	
	public static void main(String[] args) throws IOException {
		InputReader in = new InputReader(System.in);

		while (true) {
			int a =in.readInt();
			String op =in.read();
			if (op.equals("?")) break;
			int b =in.readInt();
			
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b ;
				break;
			case "-":
				ans = a - b ;
				break;		
			case "*":
				ans = a * b ;
				break;	
			case "/":
				ans = a / b ;
				break;	
			}
			System.out.println(ans);
		}
	}	
} public class Main {
	
	public static void main(String[] args) throws IOException {
		InputReader in = new InputReader(System.in);

		while (true) {
			int a =in.readInt();
			String op =in.read();
			if (op.equals("?")) break;
			int b =in.readInt();
			
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b ;
				break;
			case "-":
				ans = a - b ;
				break;		
			case "*":
				ans = a * b ;
				break;	
			case "/":
				ans = a / b ;
				break;	
			}
			System.out.println(ans);
		}
	}	
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
	
	public static void main(String[] args) throws IOException {
		InputReader in = new InputReader(System.in);

		while (true) {
			int a =in.readInt();
			String op =in.read();
			if (op.equals("?")) break;
			int b =in.readInt();
			
			int ans = 0;
			switch (op) {
			case "+":
				ans = a + b ;
				break;
			case "-":
				ans = a - b ;
				break;		
			case "*":
				ans = a * b ;
				break;	
			case "/":
				ans = a / b ;
				break;	
			}
			System.out.println(ans);
		}
	}	
}

class InputReader{
	private BufferedReader br;
	private StringTokenizer buffer;
	
	public InputReader(InputStream in) {
		br = new BufferedReader(new InputStreamReader(in));
	}
	
	public String read() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return buffer.nextToken();
	}
	
	public int readInt() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return Integer.parseInt(buffer.nextToken());
	}
	
	public double readDouble() throws IOException {
		while (buffer == null || !buffer.hasMoreTokens()) {
			buffer = new StringTokenizer(br.readLine());
		}
		return Double.parseDouble(buffer.nextToken());
	}	
}
