import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		while(in.hasNext()){
			String line = in.nextLine();
			String[] Array = line.split(" ");
			int a = Integer.parseInt(Array[0]);
			int b = Integer.parseInt(Array[2]);
			if(Array[1].equals("op")){
				break;
			}
			if(Array[1].equals("+")){
				System.out.println(a+b);
			}else if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		while(in.hasNext()){
			String line = in.nextLine();
			String[] Array = line.split(" ");
			int a = Integer.parseInt(Array[0]);
			int b = Integer.parseInt(Array[2]);
			if(Array[1].equals("op")){
				break;
			}
			if(Array[1].equals("+")){
				System.out.println(a+b);
			}else if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			}
		}
	}
} Main public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		while(in.hasNext()){
			String line = in.nextLine();
			String[] Array = line.split(" ");
			int a = Integer.parseInt(Array[0]);
			int b = Integer.parseInt(Array[2]);
			if(Array[1].equals("op")){
				break;
			}
			if(Array[1].equals("+")){
				System.out.println(a+b);
			}else if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			}
		}
	} main {
		Scanner in = new Scanner(System.in);
		while(in.hasNext()){
			String line = in.nextLine();
			String[] Array = line.split(" ");
			int a = Integer.parseInt(Array[0]);
			int b = Integer.parseInt(Array[2]);
			if(Array[1].equals("op")){
				break;
			}
			if(Array[1].equals("+")){
				System.out.println(a+b);
			}else if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			}
		}
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) while(in.hasNext()){
			String line = in.nextLine();
			String[] Array = line.split(" ");
			int a = Integer.parseInt(Array[0]);
			int b = Integer.parseInt(Array[2]);
			if(Array[1].equals("op")){
				break;
			}
			if(Array[1].equals("+")){
				System.out.println(a+b);
			}else if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			}
		} in.hasNext() in.hasNext in {
			String line = in.nextLine();
			String[] Array = line.split(" ");
			int a = Integer.parseInt(Array[0]);
			int b = Integer.parseInt(Array[2]);
			if(Array[1].equals("op")){
				break;
			}
			if(Array[1].equals("+")){
				System.out.println(a+b);
			}else if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			}
		} String line = in.nextLine(); line in.nextLine() in.nextLine in String[] Array = line.split(" "); Array line.split(" ") line.split line " " int a = Integer.parseInt(Array[0]); a Integer.parseInt(Array[0]) Integer.parseInt Integer Array[0] Array 0 int b = Integer.parseInt(Array[2]); b Integer.parseInt(Array[2]) Integer.parseInt Integer Array[2] Array 2 if(Array[1].equals("op")){
				break;
			} Array[1].equals("op") Array[1].equals Array[1] Array 1 "op" {
				break;
			} break; if(Array[1].equals("+")){
				System.out.println(a+b);
			}else if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			} Array[1].equals("+") Array[1].equals Array[1] Array 1 "+" {
				System.out.println(a+b);
			} System.out.println(a+b) System.out.println System.out System System.out a+b a b if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			} Array[1].equals("-") Array[1].equals Array[1] Array 1 "-" {
				System.out.println(a-b);
			} System.out.println(a-b) System.out.println System.out System System.out a-b a b if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			} Array[1].equals("*") Array[1].equals Array[1] Array 1 "*" {;
			System.out.println(a*b);
			} System.out.println(a*b) System.out.println System.out System System.out a*b a b if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			} Array[1].equals("/") Array[1].equals Array[1] Array 1 "/" {
			System.out.println(a/b);
			} System.out.println(a/b) System.out.println System.out System System.out a/b a b {

			} String[] args args public class Main{
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		while(in.hasNext()){
			String line = in.nextLine();
			String[] Array = line.split(" ");
			int a = Integer.parseInt(Array[0]);
			int b = Integer.parseInt(Array[2]);
			if(Array[1].equals("op")){
				break;
			}
			if(Array[1].equals("+")){
				System.out.println(a+b);
			}else if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			}
		}
	}
} public class Main{
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		while(in.hasNext()){
			String line = in.nextLine();
			String[] Array = line.split(" ");
			int a = Integer.parseInt(Array[0]);
			int b = Integer.parseInt(Array[2]);
			if(Array[1].equals("op")){
				break;
			}
			if(Array[1].equals("+")){
				System.out.println(a+b);
			}else if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			}
		}
	}
} Main
import java.util.Scanner;
public class Main{
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		while(in.hasNext()){
			String line = in.nextLine();
			String[] Array = line.split(" ");
			int a = Integer.parseInt(Array[0]);
			int b = Integer.parseInt(Array[2]);
			if(Array[1].equals("op")){
				break;
			}
			if(Array[1].equals("+")){
				System.out.println(a+b);
			}else if(Array[1].equals("-")){
				System.out.println(a-b);
			}else if(Array[1].equals("*")){;
			System.out.println(a*b);
			}else if(Array[1].equals("/")){
			System.out.println(a/b);
			}else{

			}
		}
	}
}