import java.io.*;
public class Main {

	public static void main(String[] args)throws IOException{
		
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		
		String[] text=str.split(" ");
		int a=Integer.parseInt(text[0]);
		String b=text[1];
		int c=Integer.parseInt(text[2]);
		
		while (b.equals("?") == false){
				if(b.equals("+")){
				System.out.println(a+c);
			}else if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			}
			str=br.readLine();
			text=str.split(" ");
			a=Integer.parseInt(text[0]);
			b=text[1];
			c=Integer.parseInt(text[2]);
		}
	}
} import java.io.*; io.* java public class Main {

	public static void main(String[] args)throws IOException{
		
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		
		String[] text=str.split(" ");
		int a=Integer.parseInt(text[0]);
		String b=text[1];
		int c=Integer.parseInt(text[2]);
		
		while (b.equals("?") == false){
				if(b.equals("+")){
				System.out.println(a+c);
			}else if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			}
			str=br.readLine();
			text=str.split(" ");
			a=Integer.parseInt(text[0]);
			b=text[1];
			c=Integer.parseInt(text[2]);
		}
	}
} Main public static void main(String[] args)throws IOException{
		
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		
		String[] text=str.split(" ");
		int a=Integer.parseInt(text[0]);
		String b=text[1];
		int c=Integer.parseInt(text[2]);
		
		while (b.equals("?") == false){
				if(b.equals("+")){
				System.out.println(a+c);
			}else if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			}
			str=br.readLine();
			text=str.split(" ");
			a=Integer.parseInt(text[0]);
			b=text[1];
			c=Integer.parseInt(text[2]);
		}
	} main {
		
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		
		String[] text=str.split(" ");
		int a=Integer.parseInt(text[0]);
		String b=text[1];
		int c=Integer.parseInt(text[2]);
		
		while (b.equals("?") == false){
				if(b.equals("+")){
				System.out.println(a+c);
			}else if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			}
			str=br.readLine();
			text=str.split(" ");
			a=Integer.parseInt(text[0]);
			b=text[1];
			c=Integer.parseInt(text[2]);
		}
	} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str=br.readLine(); str br.readLine() br.readLine br String[] text=str.split(" "); text str.split(" ") str.split str " " int a=Integer.parseInt(text[0]); a Integer.parseInt(text[0]) Integer.parseInt Integer text[0] text 0 String b=text[1]; b text[1] text 1 int c=Integer.parseInt(text[2]); c Integer.parseInt(text[2]) Integer.parseInt Integer text[2] text 2 while (b.equals("?") == false){
				if(b.equals("+")){
				System.out.println(a+c);
			}else if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			}
			str=br.readLine();
			text=str.split(" ");
			a=Integer.parseInt(text[0]);
			b=text[1];
			c=Integer.parseInt(text[2]);
		} b.equals("?") == false b.equals("?") b.equals b "?" false {
				if(b.equals("+")){
				System.out.println(a+c);
			}else if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			}
			str=br.readLine();
			text=str.split(" ");
			a=Integer.parseInt(text[0]);
			b=text[1];
			c=Integer.parseInt(text[2]);
		} if(b.equals("+")){
				System.out.println(a+c);
			}else if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			} b.equals("+") b.equals b "+" {
				System.out.println(a+c);
			} System.out.println(a+c) System.out.println System.out System System.out a+c a c if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			} b.equals("-") b.equals b "-" {
				System.out.println(a-c);
			} System.out.println(a-c) System.out.println System.out System System.out a-c a c if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			} b.equals("*") b.equals b "*" {
				System.out.println(a*c);
			} System.out.println(a*c) System.out.println System.out System System.out a*c a c if(b.equals("/")){
				System.out.println(a/c);
			} b.equals("/") b.equals b "/" {
				System.out.println(a/c);
			} System.out.println(a/c) System.out.println System.out System System.out a/c a c str=br.readLine() str br.readLine() br.readLine br text=str.split(" ") text str.split(" ") str.split str " " a=Integer.parseInt(text[0]) a Integer.parseInt(text[0]) Integer.parseInt Integer text[0] text 0 b=text[1] b text[1] text 1 c=Integer.parseInt(text[2]) c Integer.parseInt(text[2]) Integer.parseInt Integer text[2] text 2 String[] args args public class Main {

	public static void main(String[] args)throws IOException{
		
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		
		String[] text=str.split(" ");
		int a=Integer.parseInt(text[0]);
		String b=text[1];
		int c=Integer.parseInt(text[2]);
		
		while (b.equals("?") == false){
				if(b.equals("+")){
				System.out.println(a+c);
			}else if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			}
			str=br.readLine();
			text=str.split(" ");
			a=Integer.parseInt(text[0]);
			b=text[1];
			c=Integer.parseInt(text[2]);
		}
	}
} public class Main {

	public static void main(String[] args)throws IOException{
		
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		
		String[] text=str.split(" ");
		int a=Integer.parseInt(text[0]);
		String b=text[1];
		int c=Integer.parseInt(text[2]);
		
		while (b.equals("?") == false){
				if(b.equals("+")){
				System.out.println(a+c);
			}else if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			}
			str=br.readLine();
			text=str.split(" ");
			a=Integer.parseInt(text[0]);
			b=text[1];
			c=Integer.parseInt(text[2]);
		}
	}
} Main
import java.io.*;
public class Main {

	public static void main(String[] args)throws IOException{
		
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		String str=br.readLine();
		
		String[] text=str.split(" ");
		int a=Integer.parseInt(text[0]);
		String b=text[1];
		int c=Integer.parseInt(text[2]);
		
		while (b.equals("?") == false){
				if(b.equals("+")){
				System.out.println(a+c);
			}else if(b.equals("-")){
				System.out.println(a-c);
			}else if(b.equals("*")){
				System.out.println(a*c);
			}else if(b.equals("/")){
				System.out.println(a/c);
			}
			str=br.readLine();
			text=str.split(" ");
			a=Integer.parseInt(text[0]);
			b=text[1];
			c=Integer.parseInt(text[2]);
		}
	}
}