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


public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		List<Integer> a = new ArrayList<Integer>();
		List<Integer> b = new ArrayList<Integer>();
		List<String> op = new ArrayList<String>();

		 for(int i=0;;i++){
			 a.add(i, scan.nextInt());
			 op.add(i, scan.next());
			 b.add(i, scan.nextInt());
			 if(op.get(i).equals("?")) break;
		 }



		 for(int i=0;;i++){
			 if(op.get(i).equals("?")) break;
			 if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i));
			 if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i));
			 if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i));
			 if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i));
		 }
		 //System.out.println(df.format(s)+" "+df.format(a));

	}

} import java.util.ArrayList; ArrayList java.util import java.util.List; List java.util import java.util.Scanner; Scanner java.util public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		List<Integer> a = new ArrayList<Integer>();
		List<Integer> b = new ArrayList<Integer>();
		List<String> op = new ArrayList<String>();

		 for(int i=0;;i++){
			 a.add(i, scan.nextInt());
			 op.add(i, scan.next());
			 b.add(i, scan.nextInt());
			 if(op.get(i).equals("?")) break;
		 }



		 for(int i=0;;i++){
			 if(op.get(i).equals("?")) break;
			 if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i));
			 if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i));
			 if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i));
			 if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i));
		 }
		 //System.out.println(df.format(s)+" "+df.format(a));

	}

} Main public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		List<Integer> a = new ArrayList<Integer>();
		List<Integer> b = new ArrayList<Integer>();
		List<String> op = new ArrayList<String>();

		 for(int i=0;;i++){
			 a.add(i, scan.nextInt());
			 op.add(i, scan.next());
			 b.add(i, scan.nextInt());
			 if(op.get(i).equals("?")) break;
		 }



		 for(int i=0;;i++){
			 if(op.get(i).equals("?")) break;
			 if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i));
			 if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i));
			 if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i));
			 if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i));
		 }
		 //System.out.println(df.format(s)+" "+df.format(a));

	} main {
		Scanner scan = new Scanner(System.in);

		List<Integer> a = new ArrayList<Integer>();
		List<Integer> b = new ArrayList<Integer>();
		List<String> op = new ArrayList<String>();

		 for(int i=0;;i++){
			 a.add(i, scan.nextInt());
			 op.add(i, scan.next());
			 b.add(i, scan.nextInt());
			 if(op.get(i).equals("?")) break;
		 }



		 for(int i=0;;i++){
			 if(op.get(i).equals("?")) break;
			 if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i));
			 if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i));
			 if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i));
			 if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i));
		 }
		 //System.out.println(df.format(s)+" "+df.format(a));

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) List<Integer> a = new ArrayList<Integer>(); a new ArrayList<Integer>() List<Integer> b = new ArrayList<Integer>(); b new ArrayList<Integer>() List<String> op = new ArrayList<String>(); op new ArrayList<String>() for(int i=0;;i++){
			 a.add(i, scan.nextInt());
			 op.add(i, scan.next());
			 b.add(i, scan.nextInt());
			 if(op.get(i).equals("?")) break;
		 } int i=0; int i=0; i 0 i++ i++ i {
			 a.add(i, scan.nextInt());
			 op.add(i, scan.next());
			 b.add(i, scan.nextInt());
			 if(op.get(i).equals("?")) break;
		 } {
			 a.add(i, scan.nextInt());
			 op.add(i, scan.next());
			 b.add(i, scan.nextInt());
			 if(op.get(i).equals("?")) break;
		 } a.add(i, scan.nextInt()) a.add a i scan.nextInt() scan.nextInt scan op.add(i, scan.next()) op.add op i scan.next() scan.next scan b.add(i, scan.nextInt()) b.add b i scan.nextInt() scan.nextInt scan if(op.get(i).equals("?")) break; op.get(i).equals("?") op.get(i).equals op.get(i) op.get op i "?" break; for(int i=0;;i++){
			 if(op.get(i).equals("?")) break;
			 if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i));
			 if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i));
			 if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i));
			 if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i));
		 } int i=0; int i=0; i 0 i++ i++ i {
			 if(op.get(i).equals("?")) break;
			 if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i));
			 if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i));
			 if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i));
			 if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i));
		 } {
			 if(op.get(i).equals("?")) break;
			 if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i));
			 if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i));
			 if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i));
			 if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i));
		 } if(op.get(i).equals("?")) break; op.get(i).equals("?") op.get(i).equals op.get(i) op.get op i "?" break; if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i)); op.get(i).equals("+") op.get(i).equals op.get(i) op.get op i "+" System.out.println(a.get(i)+b.get(i)) System.out.println System.out System System.out a.get(i)+b.get(i) a.get(i) a.get a i b.get(i) b.get b i if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i)); op.get(i).equals("-") op.get(i).equals op.get(i) op.get op i "-" System.out.println(a.get(i)-b.get(i)) System.out.println System.out System System.out a.get(i)-b.get(i) a.get(i) a.get a i b.get(i) b.get b i if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i)); op.get(i).equals("*") op.get(i).equals op.get(i) op.get op i "*" System.out.println(a.get(i)*b.get(i)) System.out.println System.out System System.out a.get(i)*b.get(i) a.get(i) a.get a i b.get(i) b.get b i if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i)); op.get(i).equals("/") op.get(i).equals op.get(i) op.get op i "/" System.out.println(a.get(i)/b.get(i)) System.out.println System.out System System.out a.get(i)/b.get(i) a.get(i) a.get a i b.get(i) b.get b i String[] args args public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		List<Integer> a = new ArrayList<Integer>();
		List<Integer> b = new ArrayList<Integer>();
		List<String> op = new ArrayList<String>();

		 for(int i=0;;i++){
			 a.add(i, scan.nextInt());
			 op.add(i, scan.next());
			 b.add(i, scan.nextInt());
			 if(op.get(i).equals("?")) break;
		 }



		 for(int i=0;;i++){
			 if(op.get(i).equals("?")) break;
			 if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i));
			 if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i));
			 if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i));
			 if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i));
		 }
		 //System.out.println(df.format(s)+" "+df.format(a));

	}

} public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		List<Integer> a = new ArrayList<Integer>();
		List<Integer> b = new ArrayList<Integer>();
		List<String> op = new ArrayList<String>();

		 for(int i=0;;i++){
			 a.add(i, scan.nextInt());
			 op.add(i, scan.next());
			 b.add(i, scan.nextInt());
			 if(op.get(i).equals("?")) break;
		 }



		 for(int i=0;;i++){
			 if(op.get(i).equals("?")) break;
			 if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i));
			 if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i));
			 if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i));
			 if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i));
		 }
		 //System.out.println(df.format(s)+" "+df.format(a));

	}

} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;


public class Main {


	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);

		List<Integer> a = new ArrayList<Integer>();
		List<Integer> b = new ArrayList<Integer>();
		List<String> op = new ArrayList<String>();

		 for(int i=0;;i++){
			 a.add(i, scan.nextInt());
			 op.add(i, scan.next());
			 b.add(i, scan.nextInt());
			 if(op.get(i).equals("?")) break;
		 }



		 for(int i=0;;i++){
			 if(op.get(i).equals("?")) break;
			 if(op.get(i).equals("+")) System.out.println(a.get(i)+b.get(i));
			 if(op.get(i).equals("-")) System.out.println(a.get(i)-b.get(i));
			 if(op.get(i).equals("*")) System.out.println(a.get(i)*b.get(i));
			 if(op.get(i).equals("/")) System.out.println(a.get(i)/b.get(i));
		 }
		 //System.out.println(df.format(s)+" "+df.format(a));

	}

}