public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a, b;
		String op;

		
		
		do{
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
		if(0<=a && a <= 20000 && 0<=b && b <= 20000){
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
		
		}while(true);
		
		}
		



		} public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a, b;
		String op;

		
		
		do{
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
		if(0<=a && a <= 20000 && 0<=b && b <= 20000){
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
		
		}while(true);
		
		}
		



		} Main public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a, b;
		String op;

		
		
		do{
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
		if(0<=a && a <= 20000 && 0<=b && b <= 20000){
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
		
		}while(true);
		
		} main {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a, b;
		String op;

		
		
		do{
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
		if(0<=a && a <= 20000 && 0<=b && b <= 20000){
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
		
		}while(true);
		
		} java.util.Scanner scan = new java.util.Scanner(System.in); scan new java.util.Scanner(System.in) int a a b; b String op; op do{
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
		if(0<=a && a <= 20000 && 0<=b && b <= 20000){
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
		
		}while(true); true {
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
		if(0<=a && a <= 20000 && 0<=b && b <= 20000){
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
		
		} a = scan.nextInt() a scan.nextInt() scan.nextInt scan op = scan.next() op scan.next() scan.next scan b = scan.nextInt() b scan.nextInt() scan.nextInt scan if(0<=a && a <= 20000 && 0<=b && b <= 20000){
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		} 0<=a && a <= 20000 && 0<=b && b <= 20000 0<=b 0<=a && a <= 20000 && 0<=b && b <= 20000 0<=a 0 a a <= 20000 a 20000 0<=b 0 b b <= 20000 b 20000 {
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		} 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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			} 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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			} 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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			} 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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			} op.equals("/") && b != 0 op.equals("/") op.equals op "/" 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("?")){
				break;
			} op.equals("?") op.equals op "?" {
				break;
			} break; String[] args args public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a, b;
		String op;

		
		
		do{
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
		if(0<=a && a <= 20000 && 0<=b && b <= 20000){
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
		
		}while(true);
		
		}
		



		} public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a, b;
		String op;

		
		
		do{
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
		if(0<=a && a <= 20000 && 0<=b && b <= 20000){
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
		
		}while(true);
		
		}
		



		} Main
public class Main {


		public static void main(String[] args) {
		java.util.Scanner scan = new java.util.Scanner(System.in);
		int a, b;
		String op;

		
		
		do{
			a = scan.nextInt();
			op = scan.next();
			b = scan.nextInt();
		if(0<=a && a <= 20000 && 0<=b && b <= 20000){
			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("/") && b != 0){
				System.out.println(a/b);
			}else if(op.equals("?")){
				break;
			}
		}
		
		}while(true);
		
		}
		



		}