import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
	public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null){
			String[] arr=str.split(" ");
			int a=Integer.parseInt(arr[0]);
			int b=Integer.parseInt(arr[2]);
			String op=arr[1];
			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;
			}
		}		
		br.close();
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main{
	public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null){
			String[] arr=str.split(" ");
			int a=Integer.parseInt(arr[0]);
			int b=Integer.parseInt(arr[2]);
			String op=arr[1];
			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;
			}
		}		
		br.close();
	}
} Main public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null){
			String[] arr=str.split(" ");
			int a=Integer.parseInt(arr[0]);
			int b=Integer.parseInt(arr[2]);
			String op=arr[1];
			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;
			}
		}		
		br.close();
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null){
			String[] arr=str.split(" ");
			int a=Integer.parseInt(arr[0]);
			int b=Integer.parseInt(arr[2]);
			String op=arr[1];
			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;
			}
		}		
		br.close();
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str; str while((str=br.readLine())!=null){
			String[] arr=str.split(" ");
			int a=Integer.parseInt(arr[0]);
			int b=Integer.parseInt(arr[2]);
			String op=arr[1];
			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;
			}
		} (str=br.readLine())!=null (str=br.readLine()) str br.readLine() br.readLine br null {
			String[] arr=str.split(" ");
			int a=Integer.parseInt(arr[0]);
			int b=Integer.parseInt(arr[2]);
			String op=arr[1];
			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;
			}
		} String[] arr=str.split(" "); arr str.split(" ") str.split str " " int a=Integer.parseInt(arr[0]); a Integer.parseInt(arr[0]) Integer.parseInt Integer arr[0] arr 0 int b=Integer.parseInt(arr[2]); b Integer.parseInt(arr[2]) Integer.parseInt Integer arr[2] arr 2 String op=arr[1]; op arr[1] arr 1 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(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(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(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(a/b) System.out.println System.out System System.out a/b a b {
				break;
			} break; br.close() br.close br String[]args args public class Main{
	public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null){
			String[] arr=str.split(" ");
			int a=Integer.parseInt(arr[0]);
			int b=Integer.parseInt(arr[2]);
			String op=arr[1];
			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;
			}
		}		
		br.close();
	}
} public class Main{
	public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null){
			String[] arr=str.split(" ");
			int a=Integer.parseInt(arr[0]);
			int b=Integer.parseInt(arr[2]);
			String op=arr[1];
			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;
			}
		}		
		br.close();
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main{
	public static void main(String[]args)throws Exception{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str;
		while((str=br.readLine())!=null){
			String[] arr=str.split(" ");
			int a=Integer.parseInt(arr[0]);
			int b=Integer.parseInt(arr[2]);
			String op=arr[1];
			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;
			}
		}		
		br.close();
	}
}