import java.util.Scanner;
public class Main {
	public static void main(String[] args) {

		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		String op=sc.next();
		int b=sc.nextInt();
		
		while(true){

		int ans=0;
		
		if(op.equals("?")){ 
			break;
		} else if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		}

				System.out.println(ans);
				
				a =sc.nextInt();
				op=sc.next();
				b=sc.nextInt();
		}
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		String op=sc.next();
		int b=sc.nextInt();
		
		while(true){

		int ans=0;
		
		if(op.equals("?")){ 
			break;
		} else if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		}

				System.out.println(ans);
				
				a =sc.nextInt();
				op=sc.next();
				b=sc.nextInt();
		}
	}

} Main public static void main(String[] args) {

		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		String op=sc.next();
		int b=sc.nextInt();
		
		while(true){

		int ans=0;
		
		if(op.equals("?")){ 
			break;
		} else if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		}

				System.out.println(ans);
				
				a =sc.nextInt();
				op=sc.next();
				b=sc.nextInt();
		}
	} main {

		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		String op=sc.next();
		int b=sc.nextInt();
		
		while(true){

		int ans=0;
		
		if(op.equals("?")){ 
			break;
		} else if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		}

				System.out.println(ans);
				
				a =sc.nextInt();
				op=sc.next();
				b=sc.nextInt();
		}
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a =sc.nextInt(); a sc.nextInt() sc.nextInt sc String op=sc.next(); op sc.next() sc.next sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc while(true){

		int ans=0;
		
		if(op.equals("?")){ 
			break;
		} else if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		}

				System.out.println(ans);
				
				a =sc.nextInt();
				op=sc.next();
				b=sc.nextInt();
		} true {

		int ans=0;
		
		if(op.equals("?")){ 
			break;
		} else if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		}

				System.out.println(ans);
				
				a =sc.nextInt();
				op=sc.next();
				b=sc.nextInt();
		} int ans=0; ans 0 if(op.equals("?")){ 
			break;
		} else if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		} op.equals("?") op.equals op "?" { 
			break;
		} break; if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		} op.equals("+") op.equals op "+" {
			ans=a+b;
		} ans=a+b ans a+b a b if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		} op.equals("-") op.equals op "-" {
			ans=a-b;
		} ans=a-b ans a-b a b if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		} op.equals("*") op.equals op "*" {
			ans=a*b;
		} ans=a*b ans a*b a b if (op.equals("/")){
			ans=a/b;
		} op.equals("/") op.equals op "/" {
			ans=a/b;
		} ans=a/b ans a/b a b System.out.println(ans) System.out.println System.out System System.out ans 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 String[] args args public class Main {
	public static void main(String[] args) {

		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		String op=sc.next();
		int b=sc.nextInt();
		
		while(true){

		int ans=0;
		
		if(op.equals("?")){ 
			break;
		} else if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		}

				System.out.println(ans);
				
				a =sc.nextInt();
				op=sc.next();
				b=sc.nextInt();
		}
	}

} public class Main {
	public static void main(String[] args) {

		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		String op=sc.next();
		int b=sc.nextInt();
		
		while(true){

		int ans=0;
		
		if(op.equals("?")){ 
			break;
		} else if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		}

				System.out.println(ans);
				
				a =sc.nextInt();
				op=sc.next();
				b=sc.nextInt();
		}
	}

} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {

		Scanner sc=new Scanner(System.in);
		int a =sc.nextInt();
		String op=sc.next();
		int b=sc.nextInt();
		
		while(true){

		int ans=0;
		
		if(op.equals("?")){ 
			break;
		} else if (op.equals("+")){
			ans=a+b;
		} else if (op.equals("-")){
			ans=a-b;
		} else if (op.equals("*")){
			ans=a*b;
		} else if (op.equals("/")){
			ans=a/b;
		}

				System.out.println(ans);
				
				a =sc.nextInt();
				op=sc.next();
				b=sc.nextInt();
		}
	}

}