import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;


public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s="";
		while((s=br.readLine())!=null){
			StringTokenizer st=new StringTokenizer(s," ");
			int x=Integer.parseInt(st.nextToken());
			String ss=st.nextToken();
			if(ss.equals("+")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			}else if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			}
		}

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Scanner; Scanner java.util import java.util.StringTokenizer; StringTokenizer java.util public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s="";
		while((s=br.readLine())!=null){
			StringTokenizer st=new StringTokenizer(s," ");
			int x=Integer.parseInt(st.nextToken());
			String ss=st.nextToken();
			if(ss.equals("+")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			}else if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			}
		}

	}

} Main public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s="";
		while((s=br.readLine())!=null){
			StringTokenizer st=new StringTokenizer(s," ");
			int x=Integer.parseInt(st.nextToken());
			String ss=st.nextToken();
			if(ss.equals("+")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			}else if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			}
		}

	} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s="";
		while((s=br.readLine())!=null){
			StringTokenizer st=new StringTokenizer(s," ");
			int x=Integer.parseInt(st.nextToken());
			String ss=st.nextToken();
			if(ss.equals("+")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			}else if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			}
		}

	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in))); scan new Scanner(new BufferedReader(new InputStreamReader(System.in))) String s=""; s "" while((s=br.readLine())!=null){
			StringTokenizer st=new StringTokenizer(s," ");
			int x=Integer.parseInt(st.nextToken());
			String ss=st.nextToken();
			if(ss.equals("+")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			}else if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			}
		} (s=br.readLine())!=null (s=br.readLine()) s br.readLine() br.readLine br null {
			StringTokenizer st=new StringTokenizer(s," ");
			int x=Integer.parseInt(st.nextToken());
			String ss=st.nextToken();
			if(ss.equals("+")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			}else if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			}
		} StringTokenizer st=new StringTokenizer(s," "); st new StringTokenizer(s," ") int x=Integer.parseInt(st.nextToken()); x Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st String ss=st.nextToken(); ss st.nextToken() st.nextToken st if(ss.equals("+")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			}else if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			} ss.equals("+") ss.equals ss "+" {
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			} int y=Integer.parseInt(st.nextToken()); y Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st System.out.println(x+y) System.out.println System.out System System.out x+y x y if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			} ss.equals("-") ss.equals ss "-" {
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			} int y=Integer.parseInt(st.nextToken()); y Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st System.out.println(x-y) System.out.println System.out System System.out x-y x y if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			} ss.equals("*") ss.equals ss "*" {
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			} int y=Integer.parseInt(st.nextToken()); y Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st System.out.println(x*y) System.out.println System.out System System.out x*y x y if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			} ss.equals("/") ss.equals ss "/" {
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			} int y=Integer.parseInt(st.nextToken()); y Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st System.out.println(x/y) System.out.println System.out System System.out x/y x y {
				break;
			} break; String[] args args public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s="";
		while((s=br.readLine())!=null){
			StringTokenizer st=new StringTokenizer(s," ");
			int x=Integer.parseInt(st.nextToken());
			String ss=st.nextToken();
			if(ss.equals("+")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			}else if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			}
		}

	}

} public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s="";
		while((s=br.readLine())!=null){
			StringTokenizer st=new StringTokenizer(s," ");
			int x=Integer.parseInt(st.nextToken());
			String ss=st.nextToken();
			if(ss.equals("+")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			}else if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			}
		}

	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;


public class Main {
	public static void main(String[] args) throws IOException {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		String s="";
		while((s=br.readLine())!=null){
			StringTokenizer st=new StringTokenizer(s," ");
			int x=Integer.parseInt(st.nextToken());
			String ss=st.nextToken();
			if(ss.equals("+")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x+y);
			}else if(ss.equals("-")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x-y);
			}else if(ss.equals("*")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x*y);

			}else if(ss.equals("/")){
				int y=Integer.parseInt(st.nextToken());
				System.out.println(x/y);

			}else{
				break;
			}
		}

	}

}