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));
				}
			}
		}
	}
} import java.util.ArrayList; ArrayList java.util import java.util.Scanner; Scanner java.util 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));
				}
			}
		}
	}
} 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));
				}
			}
		}
	} main {
		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));
				}
			}
		}
	} ArrayList<Integer> listA = new ArrayList<Integer>(); listA new ArrayList<Integer>() ArrayList<Integer> listB = new ArrayList<Integer>(); listB new ArrayList<Integer>() ArrayList<String> listSY = new 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));
				}
			}
		} {
			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));
				}
			}
		} Scanner scan = new Scanner(System.in) Scanner scan = new Scanner(System.in) 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);
			} 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);
			} int numA = scan.nextInt(); numA scan.nextInt() scan.nextInt scan String sym = scan.next(); sym scan.next() scan.next scan int numB = scan.nextInt(); numB scan.nextInt() scan.nextInt scan if(sym.equals("?")) {
					break;
				} sym.equals("?") sym.equals sym "?" {
					break;
				} break; listA.add(numA) listA.add listA numA listB.add(numB) listB.add listB numB listSY.add(sym) listSY.add listSY 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));
				}
			} int i = 0; int i = 0; i 0 i < listSY.size() i listSY.size() listSY.size listSY i++ i++ 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));
				}
			} {
				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));
				}
			} 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));
				} listSY.get(i).equals("+") listSY.get(i).equals listSY.get(i) listSY.get listSY i "+" {
					System.out.println(listA.get(i) + listB.get(i));
				} System.out.println(listA.get(i) + listB.get(i)) System.out.println System.out System System.out listA.get(i) + listB.get(i) listA.get(i) listA.get listA i listB.get(i) listB.get listB 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));
				} listSY.get(i).equals("-") listSY.get(i).equals listSY.get(i) listSY.get listSY i "-" {
					System.out.println(listA.get(i) - listB.get(i));
				} System.out.println(listA.get(i) - listB.get(i)) System.out.println System.out System System.out listA.get(i) - listB.get(i) listA.get(i) listA.get listA i listB.get(i) listB.get listB 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));
				} listSY.get(i).equals("*") listSY.get(i).equals listSY.get(i) listSY.get listSY i "*" {
					System.out.println(listA.get(i) * listB.get(i));
				} System.out.println(listA.get(i) * listB.get(i)) System.out.println System.out System System.out listA.get(i) * listB.get(i) listA.get(i) listA.get listA i listB.get(i) listB.get listB i if(listSY.get(i).equals("/")) {
					System.out.println(listA.get(i) / listB.get(i));
				} listSY.get(i).equals("/") listSY.get(i).equals listSY.get(i) listSY.get listSY i "/" {
					System.out.println(listA.get(i) / listB.get(i));
				} System.out.println(listA.get(i) / listB.get(i)) System.out.println System.out System System.out listA.get(i) / listB.get(i) listA.get(i) listA.get listA i listB.get(i) listB.get listB i String[] args args 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));
				}
			}
		}
	}
} 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));
				}
			}
		}
	}
} Main
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));
				}
			}
		}
	}
}