import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		List <Integer> arraylistA = new ArrayList <Integer> ();
		List <String> arraylistOP = new ArrayList <String> ();
		List <Integer> arraylistB = new ArrayList <Integer> ();
		String OP;
		
		do {
			arraylistA.add(stdIn.nextInt());
			OP = stdIn.next();
			arraylistOP.add(OP);
			arraylistB.add(stdIn.nextInt());
		} while(!OP.equals("?"));
		
		for(int i = 0; i < arraylistA.size() - 1; i++) {
			if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			}
		}
	}
} 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 stdIn = new Scanner(System.in);
		
		List <Integer> arraylistA = new ArrayList <Integer> ();
		List <String> arraylistOP = new ArrayList <String> ();
		List <Integer> arraylistB = new ArrayList <Integer> ();
		String OP;
		
		do {
			arraylistA.add(stdIn.nextInt());
			OP = stdIn.next();
			arraylistOP.add(OP);
			arraylistB.add(stdIn.nextInt());
		} while(!OP.equals("?"));
		
		for(int i = 0; i < arraylistA.size() - 1; i++) {
			if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			}
		}
	}
} Main public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		List <Integer> arraylistA = new ArrayList <Integer> ();
		List <String> arraylistOP = new ArrayList <String> ();
		List <Integer> arraylistB = new ArrayList <Integer> ();
		String OP;
		
		do {
			arraylistA.add(stdIn.nextInt());
			OP = stdIn.next();
			arraylistOP.add(OP);
			arraylistB.add(stdIn.nextInt());
		} while(!OP.equals("?"));
		
		for(int i = 0; i < arraylistA.size() - 1; i++) {
			if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			}
		}
	} main {
		Scanner stdIn = new Scanner(System.in);
		
		List <Integer> arraylistA = new ArrayList <Integer> ();
		List <String> arraylistOP = new ArrayList <String> ();
		List <Integer> arraylistB = new ArrayList <Integer> ();
		String OP;
		
		do {
			arraylistA.add(stdIn.nextInt());
			OP = stdIn.next();
			arraylistOP.add(OP);
			arraylistB.add(stdIn.nextInt());
		} while(!OP.equals("?"));
		
		for(int i = 0; i < arraylistA.size() - 1; i++) {
			if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			}
		}
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) List <Integer> arraylistA = new ArrayList <Integer> (); arraylistA new ArrayList <Integer> () List <String> arraylistOP = new ArrayList <String> (); arraylistOP new ArrayList <String> () List <Integer> arraylistB = new ArrayList <Integer> (); arraylistB new ArrayList <Integer> () String OP; OP do {
			arraylistA.add(stdIn.nextInt());
			OP = stdIn.next();
			arraylistOP.add(OP);
			arraylistB.add(stdIn.nextInt());
		} while(!OP.equals("?")); !OP.equals("?") OP.equals("?") OP.equals OP "?" {
			arraylistA.add(stdIn.nextInt());
			OP = stdIn.next();
			arraylistOP.add(OP);
			arraylistB.add(stdIn.nextInt());
		} arraylistA.add(stdIn.nextInt()) arraylistA.add arraylistA stdIn.nextInt() stdIn.nextInt stdIn OP = stdIn.next() OP stdIn.next() stdIn.next stdIn arraylistOP.add(OP) arraylistOP.add arraylistOP OP arraylistB.add(stdIn.nextInt()) arraylistB.add arraylistB stdIn.nextInt() stdIn.nextInt stdIn for(int i = 0; i < arraylistA.size() - 1; i++) {
			if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			}
		} int i = 0; int i = 0; i 0 i < arraylistA.size() - 1 i arraylistA.size() - 1 arraylistA.size() arraylistA.size arraylistA 1 i++ i++ i {
			if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			}
		} {
			if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			}
		} if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			} arraylistOP.get(i).equals("+") arraylistOP.get(i).equals arraylistOP.get(i) arraylistOP.get arraylistOP i "+" {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			} System.out.println(arraylistA.get(i) + arraylistB.get(i)) System.out.println System.out System System.out arraylistA.get(i) + arraylistB.get(i) arraylistA.get(i) arraylistA.get arraylistA i arraylistB.get(i) arraylistB.get arraylistB i if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			} arraylistOP.get(i).equals("-") arraylistOP.get(i).equals arraylistOP.get(i) arraylistOP.get arraylistOP i "-" {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			} System.out.println(arraylistA.get(i) - arraylistB.get(i)) System.out.println System.out System System.out arraylistA.get(i) - arraylistB.get(i) arraylistA.get(i) arraylistA.get arraylistA i arraylistB.get(i) arraylistB.get arraylistB i if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			} arraylistOP.get(i).equals("*") arraylistOP.get(i).equals arraylistOP.get(i) arraylistOP.get arraylistOP i "*" {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			} System.out.println(arraylistA.get(i) * arraylistB.get(i)) System.out.println System.out System System.out arraylistA.get(i) * arraylistB.get(i) arraylistA.get(i) arraylistA.get arraylistA i arraylistB.get(i) arraylistB.get arraylistB i if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			} arraylistOP.get(i).equals("/") arraylistOP.get(i).equals arraylistOP.get(i) arraylistOP.get arraylistOP i "/" {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			} System.out.println(arraylistA.get(i) / arraylistB.get(i)) System.out.println System.out System System.out arraylistA.get(i) / arraylistB.get(i) arraylistA.get(i) arraylistA.get arraylistA i arraylistB.get(i) arraylistB.get arraylistB i String[] args args public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		List <Integer> arraylistA = new ArrayList <Integer> ();
		List <String> arraylistOP = new ArrayList <String> ();
		List <Integer> arraylistB = new ArrayList <Integer> ();
		String OP;
		
		do {
			arraylistA.add(stdIn.nextInt());
			OP = stdIn.next();
			arraylistOP.add(OP);
			arraylistB.add(stdIn.nextInt());
		} while(!OP.equals("?"));
		
		for(int i = 0; i < arraylistA.size() - 1; i++) {
			if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			}
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		List <Integer> arraylistA = new ArrayList <Integer> ();
		List <String> arraylistOP = new ArrayList <String> ();
		List <Integer> arraylistB = new ArrayList <Integer> ();
		String OP;
		
		do {
			arraylistA.add(stdIn.nextInt());
			OP = stdIn.next();
			arraylistOP.add(OP);
			arraylistB.add(stdIn.nextInt());
		} while(!OP.equals("?"));
		
		for(int i = 0; i < arraylistA.size() - 1; i++) {
			if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			}
		}
	}
} Main
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		List <Integer> arraylistA = new ArrayList <Integer> ();
		List <String> arraylistOP = new ArrayList <String> ();
		List <Integer> arraylistB = new ArrayList <Integer> ();
		String OP;
		
		do {
			arraylistA.add(stdIn.nextInt());
			OP = stdIn.next();
			arraylistOP.add(OP);
			arraylistB.add(stdIn.nextInt());
		} while(!OP.equals("?"));
		
		for(int i = 0; i < arraylistA.size() - 1; i++) {
			if(arraylistOP.get(i).equals("+")) {
				System.out.println(arraylistA.get(i) + arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("-")) {
				System.out.println(arraylistA.get(i) - arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("*")) {
				System.out.println(arraylistA.get(i) * arraylistB.get(i));
			}
			else if(arraylistOP.get(i).equals("/")) {
				System.out.println(arraylistA.get(i) / arraylistB.get(i));
			}
		}
	}
}