
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;



public class Main {


	public static void main(String[] args){
		int a = 0;
		int b = 0;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			while(true){
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			}
		}catch(IOException e){
			
		}

	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {


	public static void main(String[] args){
		int a = 0;
		int b = 0;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			while(true){
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			}
		}catch(IOException e){
			
		}

	}
} Main public static void main(String[] args){
		int a = 0;
		int b = 0;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			while(true){
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			}
		}catch(IOException e){
			
		}

	} main {
		int a = 0;
		int b = 0;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			while(true){
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			}
		}catch(IOException e){
			
		}

	} int a = 0; a 0 int b = 0; b 0 try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			while(true){
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			}
		}catch(IOException e){
			
		} catch(IOException e){
			
		} IOException e {
			
		} {
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			while(true){
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			}
		} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while(true){
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			} true {
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			} String[] arr = br.readLine().split(" "); arr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a = Integer.parseInt(arr[0]) a Integer.parseInt(arr[0]) Integer.parseInt Integer arr[0] arr 0 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("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				} "+".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("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				} "-".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("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				} "*".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("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				} "/".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; String[] args args public class Main {


	public static void main(String[] args){
		int a = 0;
		int b = 0;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			while(true){
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			}
		}catch(IOException e){
			
		}

	}
} public class Main {


	public static void main(String[] args){
		int a = 0;
		int b = 0;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			while(true){
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			}
		}catch(IOException e){
			
		}

	}
} Main

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;



public class Main {


	public static void main(String[] args){
		int a = 0;
		int b = 0;
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			while(true){
				String[] arr = br.readLine().split(" ");
				
				a = Integer.parseInt(arr[0]);
				b = Integer.parseInt(arr[2]);
				String op = arr[1];
				
				if("+".equals(op)){
					System.out.println(a+b);
				}else if("-".equals(op)){
					System.out.println(a-b);
				}else if("*".equals(op)){
					System.out.println(a*b);
				}else if("/".equals(op)){
					System.out.println(a/b);
					
				}else{
					break;
				}
				
				
			}
		}catch(IOException e){
			
		}

	}
}