import java.io.IOException;
import java.util.Scanner;
public class Main {
    public static void main (String args[]) throws IOException {
    	Scanner sc = new Scanner(System.in);
    	StringBuilder sb = new StringBuilder();
    	StringBuilder sa = new StringBuilder();
    	while(true){

    		int a = sc.nextInt();
    		String op = sc.next();
    		int b = sc.nextInt();
    		if(op.equals("?")){
    			break;
    		}else{
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		}
    	}
    	System.out.print(sb);
    }

} import java.io.IOException; IOException java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main (String args[]) throws IOException {
    	Scanner sc = new Scanner(System.in);
    	StringBuilder sb = new StringBuilder();
    	StringBuilder sa = new StringBuilder();
    	while(true){

    		int a = sc.nextInt();
    		String op = sc.next();
    		int b = sc.nextInt();
    		if(op.equals("?")){
    			break;
    		}else{
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		}
    	}
    	System.out.print(sb);
    }

} Main public static void main (String args[]) throws IOException {
    	Scanner sc = new Scanner(System.in);
    	StringBuilder sb = new StringBuilder();
    	StringBuilder sa = new StringBuilder();
    	while(true){

    		int a = sc.nextInt();
    		String op = sc.next();
    		int b = sc.nextInt();
    		if(op.equals("?")){
    			break;
    		}else{
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		}
    	}
    	System.out.print(sb);
    } main {
    	Scanner sc = new Scanner(System.in);
    	StringBuilder sb = new StringBuilder();
    	StringBuilder sa = new StringBuilder();
    	while(true){

    		int a = sc.nextInt();
    		String op = sc.next();
    		int b = sc.nextInt();
    		if(op.equals("?")){
    			break;
    		}else{
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		}
    	}
    	System.out.print(sb);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) StringBuilder sb = new StringBuilder(); sb new StringBuilder() StringBuilder sa = new StringBuilder(); sa new StringBuilder() while(true){

    		int a = sc.nextInt();
    		String op = sc.next();
    		int b = sc.nextInt();
    		if(op.equals("?")){
    			break;
    		}else{
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		}
    	} true {

    		int a = sc.nextInt();
    		String op = sc.next();
    		int b = sc.nextInt();
    		if(op.equals("?")){
    			break;
    		}else{
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		}
    	} 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 if(op.equals("?")){
    			break;
    		}else{
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		} op.equals("?") op.equals op "?" {
    			break;
    		} break; {
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		} if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        } op.equals("+") op.equals op "+" {
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        } int i = a+b; i a+b a b sb.append(i).append("\n") sb.append(i).append sb.append(i) sb.append sb i "\n" if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        } op.equals("-") op.equals op "-" {
                	int i = a-b;
	                sb.append(i).append("\n");
    	        } int i = a-b; i a-b a b sb.append(i).append("\n") sb.append(i).append sb.append(i) sb.append sb i "\n" if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        } op.equals("*") op.equals op "*" {
                	int i = a*b;
	                sb.append(i).append("\n");
    	        } int i = a*b; i a*b a b sb.append(i).append("\n") sb.append(i).append sb.append(i) sb.append sb i "\n" if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                } op.equals("/") op.equals op "/" {
	                  int i = a/b;
	                  sb.append(i).append("\n");
                } int i = a/b; i a/b a b sb.append(i).append("\n") sb.append(i).append sb.append(i) sb.append sb i "\n" System.out.print(sb) System.out.print System.out System System.out sb String args[] args public class Main {
    public static void main (String args[]) throws IOException {
    	Scanner sc = new Scanner(System.in);
    	StringBuilder sb = new StringBuilder();
    	StringBuilder sa = new StringBuilder();
    	while(true){

    		int a = sc.nextInt();
    		String op = sc.next();
    		int b = sc.nextInt();
    		if(op.equals("?")){
    			break;
    		}else{
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		}
    	}
    	System.out.print(sb);
    }

} public class Main {
    public static void main (String args[]) throws IOException {
    	Scanner sc = new Scanner(System.in);
    	StringBuilder sb = new StringBuilder();
    	StringBuilder sa = new StringBuilder();
    	while(true){

    		int a = sc.nextInt();
    		String op = sc.next();
    		int b = sc.nextInt();
    		if(op.equals("?")){
    			break;
    		}else{
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		}
    	}
    	System.out.print(sb);
    }

} Main
import java.io.IOException;
import java.util.Scanner;
public class Main {
    public static void main (String args[]) throws IOException {
    	Scanner sc = new Scanner(System.in);
    	StringBuilder sb = new StringBuilder();
    	StringBuilder sa = new StringBuilder();
    	while(true){

    		int a = sc.nextInt();
    		String op = sc.next();
    		int b = sc.nextInt();
    		if(op.equals("?")){
    			break;
    		}else{
    	        if(op.equals("+")){
    	        	int i = a+b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("-")){
                	int i = a-b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("*")){
                	int i = a*b;
	                sb.append(i).append("\n");
    	        }
                if(op.equals("/")){
	                  int i = a/b;
	                  sb.append(i).append("\n");
                }
    		}
    	}
    	System.out.print(sb);
    }

}