import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;

public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String s = sc.next();
			int b = sc.nextInt();
			if(s.equals("?")) break;
			else if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b);
		}
	}
} import java.io.File; File java.io import java.io.IOException; IOException java.io import java.util.ArrayDeque; ArrayDeque java.util import java.util.ArrayList; ArrayList java.util import java.util.Deque; Deque java.util import java.util.Scanner; Scanner java.util public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String s = sc.next();
			int b = sc.nextInt();
			if(s.equals("?")) break;
			else if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b);
		}
	}
} Main public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String s = sc.next();
			int b = sc.nextInt();
			if(s.equals("?")) break;
			else if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b);
		}
	} main {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String s = sc.next();
			int b = sc.nextInt();
			if(s.equals("?")) break;
			else if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b);
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true){
			int a = sc.nextInt();
			String s = sc.next();
			int b = sc.nextInt();
			if(s.equals("?")) break;
			else if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b);
		} true {
			int a = sc.nextInt();
			String s = sc.next();
			int b = sc.nextInt();
			if(s.equals("?")) break;
			else if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b);
		} int a = sc.nextInt(); a sc.nextInt() sc.nextInt sc String s = sc.next(); s sc.next() sc.next sc int b = sc.nextInt(); b sc.nextInt() sc.nextInt sc if(s.equals("?")) break;
			else if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b); s.equals("?") s.equals s "?" break; if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b); s.equals("+") s.equals s "+" System.out.println(a+b) System.out.println System.out System System.out a+b a b if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b); s.equals("-") s.equals s "-" System.out.println(a-b) System.out.println System.out System System.out a-b a b if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b); s.equals("*") s.equals s "*" System.out.println(a*b) System.out.println System.out System System.out a*b a b if(s.equals("/")) System.out.println(a/b); s.equals("/") s.equals s "/" System.out.println(a/b) System.out.println System.out System System.out a/b a b String[] args args public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String s = sc.next();
			int b = sc.nextInt();
			if(s.equals("?")) break;
			else if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b);
		}
	}
} public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String s = sc.next();
			int b = sc.nextInt();
			if(s.equals("?")) break;
			else if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b);
		}
	}
} Main
import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;

public class Main {
 
	public static void main(String[] args) throws IOException {
		//File file = new File("input.txt");
		//Scanner sc = new Scanner(file);
		
		Scanner sc = new Scanner(System.in);
		
		while(true){
			int a = sc.nextInt();
			String s = sc.next();
			int b = sc.nextInt();
			if(s.equals("?")) break;
			else if(s.equals("+")) System.out.println(a+b);
			else if(s.equals("-")) System.out.println(a-b);
			else if(s.equals("*")) System.out.println(a*b);
			else if(s.equals("/")) System.out.println(a/b);
		}
	}
}
