import java.io.*;
public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
	while(true){
		String str=input.readLine();
		String[] atr=str.split(" ");
		int a=Integer.parseInt(atr[0]);
		String op=atr[1];
		int b=Integer.parseInt(atr[2]);
		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 if(op.equals("?")){
			break;
			}
			

		}
	
		
	}
} import java.io.*; io.* java public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
	while(true){
		String str=input.readLine();
		String[] atr=str.split(" ");
		int a=Integer.parseInt(atr[0]);
		String op=atr[1];
		int b=Integer.parseInt(atr[2]);
		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 if(op.equals("?")){
			break;
			}
			

		}
	
		
	}
} Main public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
	while(true){
		String str=input.readLine();
		String[] atr=str.split(" ");
		int a=Integer.parseInt(atr[0]);
		String op=atr[1];
		int b=Integer.parseInt(atr[2]);
		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 if(op.equals("?")){
			break;
			}
			

		}
	
		
	} main {
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
	while(true){
		String str=input.readLine();
		String[] atr=str.split(" ");
		int a=Integer.parseInt(atr[0]);
		String op=atr[1];
		int b=Integer.parseInt(atr[2]);
		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 if(op.equals("?")){
			break;
			}
			

		}
	
		
	} BufferedReader input=new BufferedReader(new InputStreamReader(System.in)); input new BufferedReader(new InputStreamReader(System.in)) while(true){
		String str=input.readLine();
		String[] atr=str.split(" ");
		int a=Integer.parseInt(atr[0]);
		String op=atr[1];
		int b=Integer.parseInt(atr[2]);
		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 if(op.equals("?")){
			break;
			}
			

		} true {
		String str=input.readLine();
		String[] atr=str.split(" ");
		int a=Integer.parseInt(atr[0]);
		String op=atr[1];
		int b=Integer.parseInt(atr[2]);
		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 if(op.equals("?")){
			break;
			}
			

		} String str=input.readLine(); str input.readLine() input.readLine input String[] atr=str.split(" "); atr str.split(" ") str.split str " " int a=Integer.parseInt(atr[0]); a Integer.parseInt(atr[0]) Integer.parseInt Integer atr[0] atr 0 String op=atr[1]; op atr[1] atr 1 int b=Integer.parseInt(atr[2]); b Integer.parseInt(atr[2]) Integer.parseInt Integer atr[2] atr 2 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 if(op.equals("?")){
			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 if(op.equals("?")){
			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("?")){
			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("?")){
			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("?")){
			break;
			} op.equals("?") op.equals op "?" {
			break;
			} break; String[] args args public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
	while(true){
		String str=input.readLine();
		String[] atr=str.split(" ");
		int a=Integer.parseInt(atr[0]);
		String op=atr[1];
		int b=Integer.parseInt(atr[2]);
		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 if(op.equals("?")){
			break;
			}
			

		}
	
		
	}
} public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
	while(true){
		String str=input.readLine();
		String[] atr=str.split(" ");
		int a=Integer.parseInt(atr[0]);
		String op=atr[1];
		int b=Integer.parseInt(atr[2]);
		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 if(op.equals("?")){
			break;
			}
			

		}
	
		
	}
} Main
import java.io.*;
public class Main{
	public static void main(String[] args)throws Exception{
		BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
	while(true){
		String str=input.readLine();
		String[] atr=str.split(" ");
		int a=Integer.parseInt(atr[0]);
		String op=atr[1];
		int b=Integer.parseInt(atr[2]);
		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 if(op.equals("?")){
			break;
			}
			

		}
	
		
	}
}