import java.util.ArrayList;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		ArrayList<Integer> listA = new ArrayList<Integer>();
		ArrayList<Integer> listB = new ArrayList<Integer>();
		ArrayList<String> listSY = new ArrayList<String>();

		try(Scanner scan = new Scanner(System.in)) {
			while(true) {
				int numA = scan.nextInt();
				String sym = scan.next();
				int numB = scan.nextInt();

				if(sym.equals("?")) {
					break;
				}
				listA.add(numA);
				listB.add(numB);
				listSY.add(sym);
			}
			for(int i = 0; i < listSY.size(); i++) {
				if(listSY.get(i).equals("+")) {
					System.out.println(listA.get(i) + listB.get(i));
				} else if(listSY.get(i).equals("-")) {
					System.out.println(listA.get(i) - listB.get(i));
				} else if(listSY.get(i).equals("*")) {
					System.out.println(listA.get(i) * listB.get(i));
				} else if(listSY.get(i).equals("/")) {
					System.out.println(listA.get(i) / listB.get(i));
				}
			}
		}
	}
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz