import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
	
		while(true){
			String str[] = scan.nextLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			if("?".equals(str[1])) break;
			if("+".equals(str[1])){
				System.out.println(a+b);
			} else if("-".equals(str[1])){
				System.out.println(a-b);
			} else if("*".equals(str[1])){
				System.out.println(a*b);
			} else if("/".equals(str[1])){
				System.out.println(a/b);
			}
		}
	}
}  import java.util.Scanner; Scanner java.util class Main {
	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
	
		while(true){
			String str[] = scan.nextLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			if("?".equals(str[1])) break;
			if("+".equals(str[1])){
				System.out.println(a+b);
			} else if("-".equals(str[1])){
				System.out.println(a-b);
			} else if("*".equals(str[1])){
				System.out.println(a*b);
			} else if("/".equals(str[1])){
				System.out.println(a/b);
			}
		}
	}
} Main public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
	
		while(true){
			String str[] = scan.nextLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			if("?".equals(str[1])) break;
			if("+".equals(str[1])){
				System.out.println(a+b);
			} else if("-".equals(str[1])){
				System.out.println(a-b);
			} else if("*".equals(str[1])){
				System.out.println(a*b);
			} else if("/".equals(str[1])){
				System.out.println(a/b);
			}
		}
	} main {
		
		Scanner scan = new Scanner(System.in);
	
		while(true){
			String str[] = scan.nextLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			if("?".equals(str[1])) break;
			if("+".equals(str[1])){
				System.out.println(a+b);
			} else if("-".equals(str[1])){
				System.out.println(a-b);
			} else if("*".equals(str[1])){
				System.out.println(a*b);
			} else if("/".equals(str[1])){
				System.out.println(a/b);
			}
		}
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while(true){
			String str[] = scan.nextLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			if("?".equals(str[1])) break;
			if("+".equals(str[1])){
				System.out.println(a+b);
			} else if("-".equals(str[1])){
				System.out.println(a-b);
			} else if("*".equals(str[1])){
				System.out.println(a*b);
			} else if("/".equals(str[1])){
				System.out.println(a/b);
			}
		} true {
			String str[] = scan.nextLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			if("?".equals(str[1])) break;
			if("+".equals(str[1])){
				System.out.println(a+b);
			} else if("-".equals(str[1])){
				System.out.println(a-b);
			} else if("*".equals(str[1])){
				System.out.println(a*b);
			} else if("/".equals(str[1])){
				System.out.println(a/b);
			}
		} String str[] = scan.nextLine().split(" "); str scan.nextLine().split(" ") scan.nextLine().split scan.nextLine() scan.nextLine scan " " int a = Integer.parseInt(str[0]); a Integer.parseInt(str[0]) Integer.parseInt Integer str[0] str 0 int b = Integer.parseInt(str[2]); b Integer.parseInt(str[2]) Integer.parseInt Integer str[2] str 2 if("?".equals(str[1])) break; "?".equals(str[1]) "?".equals "?" str[1] str 1 break; if("+".equals(str[1])){
				System.out.println(a+b);
			} else if("-".equals(str[1])){
				System.out.println(a-b);
			} else if("*".equals(str[1])){
				System.out.println(a*b);
			} else if("/".equals(str[1])){
				System.out.println(a/b);
			} "+".equals(str[1]) "+".equals "+" str[1] str 1 {
				System.out.println(a+b);
			} System.out.println(a+b) System.out.println System.out System System.out a+b a b if("-".equals(str[1])){
				System.out.println(a-b);
			} else if("*".equals(str[1])){
				System.out.println(a*b);
			} else if("/".equals(str[1])){
				System.out.println(a/b);
			} "-".equals(str[1]) "-".equals "-" str[1] str 1 {
				System.out.println(a-b);
			} System.out.println(a-b) System.out.println System.out System System.out a-b a b if("*".equals(str[1])){
				System.out.println(a*b);
			} else if("/".equals(str[1])){
				System.out.println(a/b);
			} "*".equals(str[1]) "*".equals "*" str[1] str 1 {
				System.out.println(a*b);
			} System.out.println(a*b) System.out.println System.out System System.out a*b a b if("/".equals(str[1])){
				System.out.println(a/b);
			} "/".equals(str[1]) "/".equals "/" str[1] str 1 {
				System.out.println(a/b);
			} System.out.println(a/b) System.out.println System.out System System.out a/b a b String[] args args
import java.util.Scanner;

class Main {
	public static void main(String[] args) {
		
		Scanner scan = new Scanner(System.in);
	
		while(true){
			String str[] = scan.nextLine().split(" ");
			int a = Integer.parseInt(str[0]);
			int b = Integer.parseInt(str[2]);
			if("?".equals(str[1])) break;
			if("+".equals(str[1])){
				System.out.println(a+b);
			} else if("-".equals(str[1])){
				System.out.println(a-b);
			} else if("*".equals(str[1])){
				System.out.println(a*b);
			} else if("/".equals(str[1])){
				System.out.println(a/b);
			}
		}
	}
} 