import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner std = new Scanner(System.in);
	    while(true){
	 	    int a = Integer.parseInt(std.next());
	 	    String op = std.next();
	 	    int b = Integer.parseInt(std.next());

	 	    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("/")) System.out.println(a/b);
	    	else break;
	    }
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner std = new Scanner(System.in);
	    while(true){
	 	    int a = Integer.parseInt(std.next());
	 	    String op = std.next();
	 	    int b = Integer.parseInt(std.next());

	 	    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("/")) System.out.println(a/b);
	    	else break;
	    }
	}
} Main public static void main(String[] args){
		Scanner std = new Scanner(System.in);
	    while(true){
	 	    int a = Integer.parseInt(std.next());
	 	    String op = std.next();
	 	    int b = Integer.parseInt(std.next());

	 	    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("/")) System.out.println(a/b);
	    	else break;
	    }
	} main {
		Scanner std = new Scanner(System.in);
	    while(true){
	 	    int a = Integer.parseInt(std.next());
	 	    String op = std.next();
	 	    int b = Integer.parseInt(std.next());

	 	    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("/")) System.out.println(a/b);
	    	else break;
	    }
	} Scanner std = new Scanner(System.in); std new Scanner(System.in) while(true){
	 	    int a = Integer.parseInt(std.next());
	 	    String op = std.next();
	 	    int b = Integer.parseInt(std.next());

	 	    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("/")) System.out.println(a/b);
	    	else break;
	    } true {
	 	    int a = Integer.parseInt(std.next());
	 	    String op = std.next();
	 	    int b = Integer.parseInt(std.next());

	 	    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("/")) System.out.println(a/b);
	    	else break;
	    } int a = Integer.parseInt(std.next()); a Integer.parseInt(std.next()) Integer.parseInt Integer std.next() std.next std String op = std.next(); op std.next() std.next std int b = Integer.parseInt(std.next()); b Integer.parseInt(std.next()) Integer.parseInt Integer std.next() std.next std 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("/")) System.out.println(a/b);
	    	else break; op.equals("+") op.equals op "+" 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("/")) System.out.println(a/b);
	    	else break; op.equals("-") op.equals op "-" 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 break; op.equals("*") op.equals op "*" 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 break; op.equals("/") op.equals op "/" System.out.println(a/b) System.out.println System.out System System.out a/b a b break; String[] args args public class Main {
	public static void main(String[] args){
		Scanner std = new Scanner(System.in);
	    while(true){
	 	    int a = Integer.parseInt(std.next());
	 	    String op = std.next();
	 	    int b = Integer.parseInt(std.next());

	 	    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("/")) System.out.println(a/b);
	    	else break;
	    }
	}
} public class Main {
	public static void main(String[] args){
		Scanner std = new Scanner(System.in);
	    while(true){
	 	    int a = Integer.parseInt(std.next());
	 	    String op = std.next();
	 	    int b = Integer.parseInt(std.next());

	 	    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("/")) System.out.println(a/b);
	    	else break;
	    }
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner std = new Scanner(System.in);
	    while(true){
	 	    int a = Integer.parseInt(std.next());
	 	    String op = std.next();
	 	    int b = Integer.parseInt(std.next());

	 	    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("/")) System.out.println(a/b);
	    	else break;
	    }
	}
}