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

public class Main {

	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		int a, b;
		String op;

		ArrayList<String> buf = new ArrayList<String>();


		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();


		while (!op.equals("?")) {

			switch (op) {

			case ("+"):
				buf.add(String.valueOf(a+b));
			break;

			case ("-"):
				buf.add(String.valueOf(a-b));
			break;

			case ("*"):
				buf.add(String.valueOf(a*b));
			break;

			case ("/"):
				buf.add(String.valueOf(a/b));
			break;

			}

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();

		}

//		System.out.println(buf);

		for(int i = 0; i < buf.size(); i++) {
			System.out.println(buf.get(i));
		}


	}

}


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

	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		int a, b;
		String op;

		ArrayList<String> buf = new ArrayList<String>();


		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();


		while (!op.equals("?")) {

			switch (op) {

			case ("+"):
				buf.add(String.valueOf(a+b));
			break;

			case ("-"):
				buf.add(String.valueOf(a-b));
			break;

			case ("*"):
				buf.add(String.valueOf(a*b));
			break;

			case ("/"):
				buf.add(String.valueOf(a/b));
			break;

			}

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();

		}

//		System.out.println(buf);

		for(int i = 0; i < buf.size(); i++) {
			System.out.println(buf.get(i));
		}


	}

} Main public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		int a, b;
		String op;

		ArrayList<String> buf = new ArrayList<String>();


		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();


		while (!op.equals("?")) {

			switch (op) {

			case ("+"):
				buf.add(String.valueOf(a+b));
			break;

			case ("-"):
				buf.add(String.valueOf(a-b));
			break;

			case ("*"):
				buf.add(String.valueOf(a*b));
			break;

			case ("/"):
				buf.add(String.valueOf(a/b));
			break;

			}

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();

		}

//		System.out.println(buf);

		for(int i = 0; i < buf.size(); i++) {
			System.out.println(buf.get(i));
		}


	} main {

		Scanner sc = new Scanner(System.in);
		int a, b;
		String op;

		ArrayList<String> buf = new ArrayList<String>();


		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();


		while (!op.equals("?")) {

			switch (op) {

			case ("+"):
				buf.add(String.valueOf(a+b));
			break;

			case ("-"):
				buf.add(String.valueOf(a-b));
			break;

			case ("*"):
				buf.add(String.valueOf(a*b));
			break;

			case ("/"):
				buf.add(String.valueOf(a/b));
			break;

			}

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();

		}

//		System.out.println(buf);

		for(int i = 0; i < buf.size(); i++) {
			System.out.println(buf.get(i));
		}


	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a a b; b String op; op ArrayList<String> buf = new ArrayList<String>(); buf new ArrayList<String>() a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc while (!op.equals("?")) {

			switch (op) {

			case ("+"):
				buf.add(String.valueOf(a+b));
			break;

			case ("-"):
				buf.add(String.valueOf(a-b));
			break;

			case ("*"):
				buf.add(String.valueOf(a*b));
			break;

			case ("/"):
				buf.add(String.valueOf(a/b));
			break;

			}

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();

		} !op.equals("?") op.equals("?") op.equals op "?" {

			switch (op) {

			case ("+"):
				buf.add(String.valueOf(a+b));
			break;

			case ("-"):
				buf.add(String.valueOf(a-b));
			break;

			case ("*"):
				buf.add(String.valueOf(a*b));
			break;

			case ("/"):
				buf.add(String.valueOf(a/b));
			break;

			}

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();

		} switch (op) {

			case ("+"):
				buf.add(String.valueOf(a+b));
			break;

			case ("-"):
				buf.add(String.valueOf(a-b));
			break;

			case ("*"):
				buf.add(String.valueOf(a*b));
			break;

			case ("/"):
				buf.add(String.valueOf(a/b));
			break;

			} op case ("+"): ("+") case ("+"): buf.add(String.valueOf(a+b)) buf.add buf String.valueOf(a+b) String.valueOf String a+b a b break; case ("-"): ("-") case ("-"): buf.add(String.valueOf(a-b)) buf.add buf String.valueOf(a-b) String.valueOf String a-b a b break; case ("*"): ("*") case ("*"): buf.add(String.valueOf(a*b)) buf.add buf String.valueOf(a*b) String.valueOf String a*b a b break; case ("/"): ("/") case ("/"): buf.add(String.valueOf(a/b)) buf.add buf String.valueOf(a/b) String.valueOf String a/b a b break; a = sc.nextInt() a sc.nextInt() sc.nextInt sc op = sc.next() op sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc for(int i = 0; i < buf.size(); i++) {
			System.out.println(buf.get(i));
		} int i = 0; int i = 0; i 0 i < buf.size() i buf.size() buf.size buf i++ i++ i {
			System.out.println(buf.get(i));
		} {
			System.out.println(buf.get(i));
		} System.out.println(buf.get(i)) System.out.println System.out System System.out buf.get(i) buf.get buf i String[] args args public class Main {

	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		int a, b;
		String op;

		ArrayList<String> buf = new ArrayList<String>();


		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();


		while (!op.equals("?")) {

			switch (op) {

			case ("+"):
				buf.add(String.valueOf(a+b));
			break;

			case ("-"):
				buf.add(String.valueOf(a-b));
			break;

			case ("*"):
				buf.add(String.valueOf(a*b));
			break;

			case ("/"):
				buf.add(String.valueOf(a/b));
			break;

			}

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();

		}

//		System.out.println(buf);

		for(int i = 0; i < buf.size(); i++) {
			System.out.println(buf.get(i));
		}


	}

} public class Main {

	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		int a, b;
		String op;

		ArrayList<String> buf = new ArrayList<String>();


		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();


		while (!op.equals("?")) {

			switch (op) {

			case ("+"):
				buf.add(String.valueOf(a+b));
			break;

			case ("-"):
				buf.add(String.valueOf(a-b));
			break;

			case ("*"):
				buf.add(String.valueOf(a*b));
			break;

			case ("/"):
				buf.add(String.valueOf(a/b));
			break;

			}

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();

		}

//		System.out.println(buf);

		for(int i = 0; i < buf.size(); i++) {
			System.out.println(buf.get(i));
		}


	}

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

public class Main {

	public static void main (String[] args) {

		Scanner sc = new Scanner(System.in);
		int a, b;
		String op;

		ArrayList<String> buf = new ArrayList<String>();


		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();


		while (!op.equals("?")) {

			switch (op) {

			case ("+"):
				buf.add(String.valueOf(a+b));
			break;

			case ("-"):
				buf.add(String.valueOf(a-b));
			break;

			case ("*"):
				buf.add(String.valueOf(a*b));
			break;

			case ("/"):
				buf.add(String.valueOf(a/b));
			break;

			}

			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();

		}

//		System.out.println(buf);

		for(int i = 0; i < buf.size(); i++) {
			System.out.println(buf.get(i));
		}


	}

}



