import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")) {
				break;
			}

			switch(op) {
			case "+" :
				System.out.println(a + b);
				break;
			case "-" :
				System.out.println(a - b);
				break;
			case "*" :
				System.out.println(a * b);
				break;
			case "/" :
				System.out.println(a / b);
				break;
			}
		}
		scan.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")) {
				break;
			}

			switch(op) {
			case "+" :
				System.out.println(a + b);
				break;
			case "-" :
				System.out.println(a - b);
				break;
			case "*" :
				System.out.println(a * b);
				break;
			case "/" :
				System.out.println(a / b);
				break;
			}
		}
		scan.close();
	}
} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")) {
				break;
			}

			switch(op) {
			case "+" :
				System.out.println(a + b);
				break;
			case "-" :
				System.out.println(a - b);
				break;
			case "*" :
				System.out.println(a * b);
				break;
			case "/" :
				System.out.println(a / b);
				break;
			}
		}
		scan.close();
	} main {
		Scanner scan = new Scanner(System.in);
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")) {
				break;
			}

			switch(op) {
			case "+" :
				System.out.println(a + b);
				break;
			case "-" :
				System.out.println(a - b);
				break;
			case "*" :
				System.out.println(a * b);
				break;
			case "/" :
				System.out.println(a / b);
				break;
			}
		}
		scan.close();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")) {
				break;
			}

			switch(op) {
			case "+" :
				System.out.println(a + b);
				break;
			case "-" :
				System.out.println(a - b);
				break;
			case "*" :
				System.out.println(a * b);
				break;
			case "/" :
				System.out.println(a / b);
				break;
			}
		} true {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")) {
				break;
			}

			switch(op) {
			case "+" :
				System.out.println(a + b);
				break;
			case "-" :
				System.out.println(a - b);
				break;
			case "*" :
				System.out.println(a * b);
				break;
			case "/" :
				System.out.println(a / b);
				break;
			}
		} int a = scan.nextInt(); a scan.nextInt() scan.nextInt scan String op = scan.next(); op scan.next() scan.next scan int b = scan.nextInt(); b scan.nextInt() scan.nextInt scan if(op.equals("?")) {
				break;
			} op.equals("?") op.equals op "?" {
				break;
			} break; switch(op) {
			case "+" :
				System.out.println(a + b);
				break;
			case "-" :
				System.out.println(a - b);
				break;
			case "*" :
				System.out.println(a * b);
				break;
			case "/" :
				System.out.println(a / b);
				break;
			} op case "+" : "+" case "+" : System.out.println(a + b) System.out.println System.out System System.out a + b a b break; case "-" : "-" case "-" : System.out.println(a - b) System.out.println System.out System System.out a - b a b break; case "*" : "*" case "*" : System.out.println(a * b) System.out.println System.out System System.out a * b a b break; case "/" : "/" case "/" : System.out.println(a / b) System.out.println System.out System System.out a / b a b break; scan.close() scan.close scan String[] args args public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")) {
				break;
			}

			switch(op) {
			case "+" :
				System.out.println(a + b);
				break;
			case "-" :
				System.out.println(a - b);
				break;
			case "*" :
				System.out.println(a * b);
				break;
			case "/" :
				System.out.println(a / b);
				break;
			}
		}
		scan.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")) {
				break;
			}

			switch(op) {
			case "+" :
				System.out.println(a + b);
				break;
			case "-" :
				System.out.println(a - b);
				break;
			case "*" :
				System.out.println(a * b);
				break;
			case "/" :
				System.out.println(a / b);
				break;
			}
		}
		scan.close();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		while(true) {
			int a = scan.nextInt();
			String op = scan.next();
			int b = scan.nextInt();

			if(op.equals("?")) {
				break;
			}

			switch(op) {
			case "+" :
				System.out.println(a + b);
				break;
			case "-" :
				System.out.println(a - b);
				break;
			case "*" :
				System.out.println(a * b);
				break;
			case "/" :
				System.out.println(a / b);
				break;
			}
		}
		scan.close();
	}
}
