import java.io.*;

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

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