import java.util.Scanner;


public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		int a, b;
		int ans = 0;
		//String str[];
		String op = "";

		/*while(!op.equals("?")){
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        str = br.readLine().split(" ");*/
		Scanner scan = new Scanner(System.in);
		while(scan.hasNext()){
	        a = scan.nextInt();
	        op = scan.next();
	        b = scan.nextInt();

	        switch(op){
		        case "+":
		        	ans = a + b;
		        	break;
		        case "-":
		        	ans = a - b;
		        	break;
		        case "*":
		        	ans = a * b;
		        	break;
		        case "/":
		        	ans = a / b;
		        	break;
	        }
	        if (!op.equals("?")) System.out.println(ans);
	        else break;

		}

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		int a, b;
		int ans = 0;
		//String str[];
		String op = "";

		/*while(!op.equals("?")){
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        str = br.readLine().split(" ");*/
		Scanner scan = new Scanner(System.in);
		while(scan.hasNext()){
	        a = scan.nextInt();
	        op = scan.next();
	        b = scan.nextInt();

	        switch(op){
		        case "+":
		        	ans = a + b;
		        	break;
		        case "-":
		        	ans = a - b;
		        	break;
		        case "*":
		        	ans = a * b;
		        	break;
		        case "/":
		        	ans = a / b;
		        	break;
	        }
	        if (!op.equals("?")) System.out.println(ans);
	        else break;

		}

	}

} Main public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		int a, b;
		int ans = 0;
		//String str[];
		String op = "";

		/*while(!op.equals("?")){
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        str = br.readLine().split(" ");*/
		Scanner scan = new Scanner(System.in);
		while(scan.hasNext()){
	        a = scan.nextInt();
	        op = scan.next();
	        b = scan.nextInt();

	        switch(op){
		        case "+":
		        	ans = a + b;
		        	break;
		        case "-":
		        	ans = a - b;
		        	break;
		        case "*":
		        	ans = a * b;
		        	break;
		        case "/":
		        	ans = a / b;
		        	break;
	        }
	        if (!op.equals("?")) System.out.println(ans);
	        else break;

		}

	} main {
		// TODO ?????????????????????????????????????????????
		int a, b;
		int ans = 0;
		//String str[];
		String op = "";

		/*while(!op.equals("?")){
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        str = br.readLine().split(" ");*/
		Scanner scan = new Scanner(System.in);
		while(scan.hasNext()){
	        a = scan.nextInt();
	        op = scan.next();
	        b = scan.nextInt();

	        switch(op){
		        case "+":
		        	ans = a + b;
		        	break;
		        case "-":
		        	ans = a - b;
		        	break;
		        case "*":
		        	ans = a * b;
		        	break;
		        case "/":
		        	ans = a / b;
		        	break;
	        }
	        if (!op.equals("?")) System.out.println(ans);
	        else break;

		}

	} int a a b; b int ans = 0; ans 0 String op = ""; op "" Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while(scan.hasNext()){
	        a = scan.nextInt();
	        op = scan.next();
	        b = scan.nextInt();

	        switch(op){
		        case "+":
		        	ans = a + b;
		        	break;
		        case "-":
		        	ans = a - b;
		        	break;
		        case "*":
		        	ans = a * b;
		        	break;
		        case "/":
		        	ans = a / b;
		        	break;
	        }
	        if (!op.equals("?")) System.out.println(ans);
	        else break;

		} scan.hasNext() scan.hasNext scan {
	        a = scan.nextInt();
	        op = scan.next();
	        b = scan.nextInt();

	        switch(op){
		        case "+":
		        	ans = a + b;
		        	break;
		        case "-":
		        	ans = a - b;
		        	break;
		        case "*":
		        	ans = a * b;
		        	break;
		        case "/":
		        	ans = a / b;
		        	break;
	        }
	        if (!op.equals("?")) System.out.println(ans);
	        else 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 switch(op){
		        case "+":
		        	ans = a + b;
		        	break;
		        case "-":
		        	ans = a - b;
		        	break;
		        case "*":
		        	ans = a * b;
		        	break;
		        case "/":
		        	ans = a / b;
		        	break;
	        } op case "+": "+" case "+": ans = a + b ans a + b a b break; case "-": "-" case "-": ans = a - b ans a - b a b break; case "*": "*" case "*": ans = a * b ans a * b a b break; case "/": "/" case "/": ans = a / b ans a / b a b break; if (!op.equals("?")) System.out.println(ans);
	        else break; !op.equals("?") op.equals("?") op.equals op "?" System.out.println(ans) System.out.println System.out System System.out ans break; String[] args args public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		int a, b;
		int ans = 0;
		//String str[];
		String op = "";

		/*while(!op.equals("?")){
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        str = br.readLine().split(" ");*/
		Scanner scan = new Scanner(System.in);
		while(scan.hasNext()){
	        a = scan.nextInt();
	        op = scan.next();
	        b = scan.nextInt();

	        switch(op){
		        case "+":
		        	ans = a + b;
		        	break;
		        case "-":
		        	ans = a - b;
		        	break;
		        case "*":
		        	ans = a * b;
		        	break;
		        case "/":
		        	ans = a / b;
		        	break;
	        }
	        if (!op.equals("?")) System.out.println(ans);
	        else break;

		}

	}

} public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		int a, b;
		int ans = 0;
		//String str[];
		String op = "";

		/*while(!op.equals("?")){
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        str = br.readLine().split(" ");*/
		Scanner scan = new Scanner(System.in);
		while(scan.hasNext()){
	        a = scan.nextInt();
	        op = scan.next();
	        b = scan.nextInt();

	        switch(op){
		        case "+":
		        	ans = a + b;
		        	break;
		        case "-":
		        	ans = a - b;
		        	break;
		        case "*":
		        	ans = a * b;
		        	break;
		        case "/":
		        	ans = a / b;
		        	break;
	        }
	        if (!op.equals("?")) System.out.println(ans);
	        else break;

		}

	}

} Main
import java.util.Scanner;


public class Main {

	public static void main(String[] args) throws Exception{
		// TODO ?????????????????????????????????????????????
		int a, b;
		int ans = 0;
		//String str[];
		String op = "";

		/*while(!op.equals("?")){
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
	        str = br.readLine().split(" ");*/
		Scanner scan = new Scanner(System.in);
		while(scan.hasNext()){
	        a = scan.nextInt();
	        op = scan.next();
	        b = scan.nextInt();

	        switch(op){
		        case "+":
		        	ans = a + b;
		        	break;
		        case "-":
		        	ans = a - b;
		        	break;
		        case "*":
		        	ans = a * b;
		        	break;
		        case "/":
		        	ans = a / b;
		        	break;
	        }
	        if (!op.equals("?")) System.out.println(ans);
	        else break;

		}

	}

}