import java.util.Scanner;

class Main {

	public void plus(int x, int y){

		int ans = x + y;
		System.out.println(ans);
	}
	public void minus(int x, int y){

		int ans = x - y;
		System.out.println(ans);
	}
	public void times(int x, int y){

		int ans = x * y;
		System.out.println(ans);
	}
	public void divide(int x, int y){

		int ans = x / y;
		System.out.println(ans);
	}
	public static void main(String[] args) {

		Main n = new Main();
		Scanner scan = new Scanner(System.in);

		for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			int y = scan.nextInt();

			switch(ch){
			case '+':
				n.plus(x, y);
				break;
			case '-':
				n.minus(x, y);
				break;
			case '*':
				n.times(x, y);
				break;
			case '/':
				n.divide(x, y);
				break;
			default:
				scan.close();
				System.exit(0);
			}
		}
	}
} import java.util.Scanner; Scanner java.util class Main {

	public void plus(int x, int y){

		int ans = x + y;
		System.out.println(ans);
	}
	public void minus(int x, int y){

		int ans = x - y;
		System.out.println(ans);
	}
	public void times(int x, int y){

		int ans = x * y;
		System.out.println(ans);
	}
	public void divide(int x, int y){

		int ans = x / y;
		System.out.println(ans);
	}
	public static void main(String[] args) {

		Main n = new Main();
		Scanner scan = new Scanner(System.in);

		for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			int y = scan.nextInt();

			switch(ch){
			case '+':
				n.plus(x, y);
				break;
			case '-':
				n.minus(x, y);
				break;
			case '*':
				n.times(x, y);
				break;
			case '/':
				n.divide(x, y);
				break;
			default:
				scan.close();
				System.exit(0);
			}
		}
	}
} Main public void plus(int x, int y){

		int ans = x + y;
		System.out.println(ans);
	} plus {

		int ans = x + y;
		System.out.println(ans);
	} int ans = x + y; ans x + y x y System.out.println(ans) System.out.println System.out System System.out ans int x x int y y public void minus(int x, int y){

		int ans = x - y;
		System.out.println(ans);
	} minus {

		int ans = x - y;
		System.out.println(ans);
	} int ans = x - y; ans x - y x y System.out.println(ans) System.out.println System.out System System.out ans int x x int y y public void times(int x, int y){

		int ans = x * y;
		System.out.println(ans);
	} times {

		int ans = x * y;
		System.out.println(ans);
	} int ans = x * y; ans x * y x y System.out.println(ans) System.out.println System.out System System.out ans int x x int y y public void divide(int x, int y){

		int ans = x / y;
		System.out.println(ans);
	} divide {

		int ans = x / y;
		System.out.println(ans);
	} int ans = x / y; ans x / y x y System.out.println(ans) System.out.println System.out System System.out ans int x x int y y public static void main(String[] args) {

		Main n = new Main();
		Scanner scan = new Scanner(System.in);

		for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			int y = scan.nextInt();

			switch(ch){
			case '+':
				n.plus(x, y);
				break;
			case '-':
				n.minus(x, y);
				break;
			case '*':
				n.times(x, y);
				break;
			case '/':
				n.divide(x, y);
				break;
			default:
				scan.close();
				System.exit(0);
			}
		}
	} main {

		Main n = new Main();
		Scanner scan = new Scanner(System.in);

		for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			int y = scan.nextInt();

			switch(ch){
			case '+':
				n.plus(x, y);
				break;
			case '-':
				n.minus(x, y);
				break;
			case '*':
				n.times(x, y);
				break;
			case '/':
				n.divide(x, y);
				break;
			default:
				scan.close();
				System.exit(0);
			}
		}
	} Main n = new Main(); n new Main() Scanner scan = new Scanner(System.in); scan new Scanner(System.in) for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			int y = scan.nextInt();

			switch(ch){
			case '+':
				n.plus(x, y);
				break;
			case '-':
				n.minus(x, y);
				break;
			case '*':
				n.times(x, y);
				break;
			case '/':
				n.divide(x, y);
				break;
			default:
				scan.close();
				System.exit(0);
			}
		} ; {

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			int y = scan.nextInt();

			switch(ch){
			case '+':
				n.plus(x, y);
				break;
			case '-':
				n.minus(x, y);
				break;
			case '*':
				n.times(x, y);
				break;
			case '/':
				n.divide(x, y);
				break;
			default:
				scan.close();
				System.exit(0);
			}
		} {

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			int y = scan.nextInt();

			switch(ch){
			case '+':
				n.plus(x, y);
				break;
			case '-':
				n.minus(x, y);
				break;
			case '*':
				n.times(x, y);
				break;
			case '/':
				n.divide(x, y);
				break;
			default:
				scan.close();
				System.exit(0);
			}
		} int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan char ch = scan.next().charAt(0); ch scan.next().charAt(0) scan.next().charAt scan.next() scan.next scan 0 int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan switch(ch){
			case '+':
				n.plus(x, y);
				break;
			case '-':
				n.minus(x, y);
				break;
			case '*':
				n.times(x, y);
				break;
			case '/':
				n.divide(x, y);
				break;
			default:
				scan.close();
				System.exit(0);
			} ch case '+': '+' case '+': n.plus(x, y) n.plus n x y break; case '-': '-' case '-': n.minus(x, y) n.minus n x y break; case '*': '*' case '*': n.times(x, y) n.times n x y break; case '/': '/' case '/': n.divide(x, y) n.divide n x y break; default: default: scan.close() scan.close scan System.exit(0) System.exit System 0 String[] args args
import java.util.Scanner;

class Main {

	public void plus(int x, int y){

		int ans = x + y;
		System.out.println(ans);
	}
	public void minus(int x, int y){

		int ans = x - y;
		System.out.println(ans);
	}
	public void times(int x, int y){

		int ans = x * y;
		System.out.println(ans);
	}
	public void divide(int x, int y){

		int ans = x / y;
		System.out.println(ans);
	}
	public static void main(String[] args) {

		Main n = new Main();
		Scanner scan = new Scanner(System.in);

		for(;;){

			int x = scan.nextInt();
			char ch = scan.next().charAt(0);
			int y = scan.nextInt();

			switch(ch){
			case '+':
				n.plus(x, y);
				break;
			case '-':
				n.minus(x, y);
				break;
			case '*':
				n.times(x, y);
				break;
			case '/':
				n.divide(x, y);
				break;
			default:
				scan.close();
				System.exit(0);
			}
		}
	}
}