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