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