import java.util.*;
import java.io.*;
import java.lang.*;
import java.math.*;
public class Main{
	public static void main(String[] args) throws IOException{
		Scanner stdIn=new Scanner(System.in);
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String in=br.readLine();
			String[] s=in.split(" ");
			int a=Integer.parseInt(s[0]);
			String op=s[1];
			int b=Integer.parseInt(s[2]);
			switch(op){
			case "+":System.out.println(a+b);break;
			case "-":System.out.println(a-b);break;
			case "*":System.out.println(a*b);break;
			case "/":System.out.println(a/b);break;
			case "?":return;
			}
		}
	}
} import java.util.*; util.* java import java.io.*; io.* java import java.lang.*; lang.* java import java.math.*; math.* java public class Main{
	public static void main(String[] args) throws IOException{
		Scanner stdIn=new Scanner(System.in);
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String in=br.readLine();
			String[] s=in.split(" ");
			int a=Integer.parseInt(s[0]);
			String op=s[1];
			int b=Integer.parseInt(s[2]);
			switch(op){
			case "+":System.out.println(a+b);break;
			case "-":System.out.println(a-b);break;
			case "*":System.out.println(a*b);break;
			case "/":System.out.println(a/b);break;
			case "?":return;
			}
		}
	}
} Main public static void main(String[] args) throws IOException{
		Scanner stdIn=new Scanner(System.in);
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String in=br.readLine();
			String[] s=in.split(" ");
			int a=Integer.parseInt(s[0]);
			String op=s[1];
			int b=Integer.parseInt(s[2]);
			switch(op){
			case "+":System.out.println(a+b);break;
			case "-":System.out.println(a-b);break;
			case "*":System.out.println(a*b);break;
			case "/":System.out.println(a/b);break;
			case "?":return;
			}
		}
	} main {
		Scanner stdIn=new Scanner(System.in);
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String in=br.readLine();
			String[] s=in.split(" ");
			int a=Integer.parseInt(s[0]);
			String op=s[1];
			int b=Integer.parseInt(s[2]);
			switch(op){
			case "+":System.out.println(a+b);break;
			case "-":System.out.println(a-b);break;
			case "*":System.out.println(a*b);break;
			case "/":System.out.println(a/b);break;
			case "?":return;
			}
		}
	} Scanner stdIn=new Scanner(System.in); stdIn new Scanner(System.in) BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) while(true){
			String in=br.readLine();
			String[] s=in.split(" ");
			int a=Integer.parseInt(s[0]);
			String op=s[1];
			int b=Integer.parseInt(s[2]);
			switch(op){
			case "+":System.out.println(a+b);break;
			case "-":System.out.println(a-b);break;
			case "*":System.out.println(a*b);break;
			case "/":System.out.println(a/b);break;
			case "?":return;
			}
		} true {
			String in=br.readLine();
			String[] s=in.split(" ");
			int a=Integer.parseInt(s[0]);
			String op=s[1];
			int b=Integer.parseInt(s[2]);
			switch(op){
			case "+":System.out.println(a+b);break;
			case "-":System.out.println(a-b);break;
			case "*":System.out.println(a*b);break;
			case "/":System.out.println(a/b);break;
			case "?":return;
			}
		} String in=br.readLine(); in br.readLine() br.readLine br String[] s=in.split(" "); s in.split(" ") in.split in " " int a=Integer.parseInt(s[0]); a Integer.parseInt(s[0]) Integer.parseInt Integer s[0] s 0 String op=s[1]; op s[1] s 1 int b=Integer.parseInt(s[2]); b Integer.parseInt(s[2]) Integer.parseInt Integer s[2] s 2 switch(op){
			case "+":System.out.println(a+b);break;
			case "-":System.out.println(a-b);break;
			case "*":System.out.println(a*b);break;
			case "/":System.out.println(a/b);break;
			case "?":return;
			} op case "+": "+" case "+": System.out.println(a+b) System.out.println System.out System System.out a+b a b break; case "-": "-" case "-": System.out.println(a-b) System.out.println System.out System System.out a-b a b break; case "*": "*" case "*": System.out.println(a*b) System.out.println System.out System System.out a*b a b break; case "/": "/" case "/": System.out.println(a/b) System.out.println System.out System System.out a/b a b break; case "?": "?" case "?": return; String[] args args public class Main{
	public static void main(String[] args) throws IOException{
		Scanner stdIn=new Scanner(System.in);
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String in=br.readLine();
			String[] s=in.split(" ");
			int a=Integer.parseInt(s[0]);
			String op=s[1];
			int b=Integer.parseInt(s[2]);
			switch(op){
			case "+":System.out.println(a+b);break;
			case "-":System.out.println(a-b);break;
			case "*":System.out.println(a*b);break;
			case "/":System.out.println(a/b);break;
			case "?":return;
			}
		}
	}
} public class Main{
	public static void main(String[] args) throws IOException{
		Scanner stdIn=new Scanner(System.in);
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String in=br.readLine();
			String[] s=in.split(" ");
			int a=Integer.parseInt(s[0]);
			String op=s[1];
			int b=Integer.parseInt(s[2]);
			switch(op){
			case "+":System.out.println(a+b);break;
			case "-":System.out.println(a-b);break;
			case "*":System.out.println(a*b);break;
			case "/":System.out.println(a/b);break;
			case "?":return;
			}
		}
	}
} Main
import java.util.*;
import java.io.*;
import java.lang.*;
import java.math.*;
public class Main{
	public static void main(String[] args) throws IOException{
		Scanner stdIn=new Scanner(System.in);
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		while(true){
			String in=br.readLine();
			String[] s=in.split(" ");
			int a=Integer.parseInt(s[0]);
			String op=s[1];
			int b=Integer.parseInt(s[2]);
			switch(op){
			case "+":System.out.println(a+b);break;
			case "-":System.out.println(a-b);break;
			case "*":System.out.println(a*b);break;
			case "/":System.out.println(a/b);break;
			case "?":return;
			}
		}
	}
}