import java.util.Scanner;
class Main {
	int a,b;
	String op;
	public void si() {
		Scanner sc = new Scanner(System.in);
		boolean sw = true;
		while(sw == true) {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			}
		}
	}
	public static void main(String[] args){
		new Main().si();
	}
} import java.util.Scanner; Scanner java.util class Main {
	int a,b;
	String op;
	public void si() {
		Scanner sc = new Scanner(System.in);
		boolean sw = true;
		while(sw == true) {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			}
		}
	}
	public static void main(String[] args){
		new Main().si();
	}
} Main int a a b; b String op; op public void si() {
		Scanner sc = new Scanner(System.in);
		boolean sw = true;
		while(sw == true) {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			}
		}
	} si {
		Scanner sc = new Scanner(System.in);
		boolean sw = true;
		while(sw == true) {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) boolean sw = true; sw true while(sw == true) {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			}
		} sw == true sw true {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			}
		} a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc 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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			} 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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			} 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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			} 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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			} op.equals ( "/" ) op.equals op "/" {
				if(b > 0) {
					System.out.println(a / b);
				}
			} if(b > 0) {
					System.out.println(a / b);
				} b > 0 b 0 {
					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( "?" )) {
				sw = false;
			} op.equals( "?" ) op.equals op "?" {
				sw = false;
			} sw = false sw false public static void main(String[] args){
		new Main().si();
	} main {
		new Main().si();
	} new Main().si() new Main().si new Main() String[] args args
import java.util.Scanner;
class Main {
	int a,b;
	String op;
	public void si() {
		Scanner sc = new Scanner(System.in);
		boolean sw = true;
		while(sw == true) {
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
			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 ( "/" ) ) {
				if(b > 0) {
					System.out.println(a / b);
				}
			} else if(op.equals( "?" )) {
				sw = false;
			}
		}
	}
	public static void main(String[] args){
		new Main().si();
	}
}