import java.util.Scanner;


public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String line = sc.next();
			char op = line.charAt(0);
			int b = sc.nextInt();
			
			if(op == '?'){
				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;
			}
		}
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String line = sc.next();
			char op = line.charAt(0);
			int b = sc.nextInt();
			
			if(op == '?'){
				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;
			}
		}
		sc.close();
	}
} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String line = sc.next();
			char op = line.charAt(0);
			int b = sc.nextInt();
			
			if(op == '?'){
				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;
			}
		}
		sc.close();
	} main {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String line = sc.next();
			char op = line.charAt(0);
			int b = sc.nextInt();
			
			if(op == '?'){
				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;
			}
		}
		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true){
			int a = sc.nextInt();
			String line = sc.next();
			char op = line.charAt(0);
			int b = sc.nextInt();
			
			if(op == '?'){
				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 = sc.nextInt();
			String line = sc.next();
			char op = line.charAt(0);
			int b = sc.nextInt();
			
			if(op == '?'){
				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 = sc.nextInt(); a sc.nextInt() sc.nextInt sc String line = sc.next(); line sc.next() sc.next sc char op = line.charAt(0); op line.charAt(0) line.charAt line 0 int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc if(op == '?'){
				break;
			} op == '?' 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; sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String line = sc.next();
			char op = line.charAt(0);
			int b = sc.nextInt();
			
			if(op == '?'){
				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;
			}
		}
		sc.close();
	}
} public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String line = sc.next();
			char op = line.charAt(0);
			int b = sc.nextInt();
			
			if(op == '?'){
				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;
			}
		}
		sc.close();
	}
} Main
import java.util.Scanner;


public class Main {
	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String line = sc.next();
			char op = line.charAt(0);
			int b = sc.nextInt();
			
			if(op == '?'){
				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;
			}
		}
		sc.close();
	}
}