import java.io.ByteArrayInputStream;
import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
	
	String INPUT = "";
	
	public static void main(String[] args) throws Exception {
		new Main().run();
	}
	
	void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	}
	
	void solve(Scanner sc, PrintWriter out) {
		int a,b;
		String op;
		
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		
		while (!"?".equals(op)) {
			int ans = 0;
			if ("+".equals(op)) ans=a+b;
			if ("-".equals(op)) ans=a-b;
			if ("*".equals(op)) ans=a*b;
			if ("/".equals(op)) ans=a/b;
			System.out.println(ans);
			
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
}
 import java.io.ByteArrayInputStream; ByteArrayInputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
	
	String INPUT = "";
	
	public static void main(String[] args) throws Exception {
		new Main().run();
	}
	
	void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	}
	
	void solve(Scanner sc, PrintWriter out) {
		int a,b;
		String op;
		
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		
		while (!"?".equals(op)) {
			int ans = 0;
			if ("+".equals(op)) ans=a+b;
			if ("-".equals(op)) ans=a-b;
			if ("*".equals(op)) ans=a*b;
			if ("/".equals(op)) ans=a/b;
			System.out.println(ans);
			
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
} Main String INPUT = ""; INPUT "" public static void main(String[] args) throws Exception {
		new Main().run();
	} main {
		new Main().run();
	} new Main().run() new Main().run new Main() String[] args args void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	} run {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	} Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes())); sc INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes())) INPUT.isEmpty() INPUT.isEmpty INPUT new Scanner(System.in) new Scanner(new ByteArrayInputStream(INPUT.getBytes())) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) solve(sc, out) solve sc out out.flush() out.flush out void solve(Scanner sc, PrintWriter out) {
		int a,b;
		String op;
		
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		
		while (!"?".equals(op)) {
			int ans = 0;
			if ("+".equals(op)) ans=a+b;
			if ("-".equals(op)) ans=a-b;
			if ("*".equals(op)) ans=a*b;
			if ("/".equals(op)) ans=a/b;
			System.out.println(ans);
			
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	} solve {
		int a,b;
		String op;
		
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		
		while (!"?".equals(op)) {
			int ans = 0;
			if ("+".equals(op)) ans=a+b;
			if ("-".equals(op)) ans=a-b;
			if ("*".equals(op)) ans=a*b;
			if ("/".equals(op)) ans=a/b;
			System.out.println(ans);
			
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	} int a a b; b String op; op 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 (!"?".equals(op)) {
			int ans = 0;
			if ("+".equals(op)) ans=a+b;
			if ("-".equals(op)) ans=a-b;
			if ("*".equals(op)) ans=a*b;
			if ("/".equals(op)) ans=a/b;
			System.out.println(ans);
			
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		} !"?".equals(op) "?".equals(op) "?".equals "?" op {
			int ans = 0;
			if ("+".equals(op)) ans=a+b;
			if ("-".equals(op)) ans=a-b;
			if ("*".equals(op)) ans=a*b;
			if ("/".equals(op)) ans=a/b;
			System.out.println(ans);
			
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		} int ans = 0; ans 0 if ("+".equals(op)) ans=a+b; "+".equals(op) "+".equals "+" op ans=a+b ans a+b a b if ("-".equals(op)) ans=a-b; "-".equals(op) "-".equals "-" op ans=a-b ans a-b a b if ("*".equals(op)) ans=a*b; "*".equals(op) "*".equals "*" op ans=a*b ans a*b a b if ("/".equals(op)) ans=a/b; "/".equals(op) "/".equals "/" op ans=a/b ans a/b a b System.out.println(ans) System.out.println System.out System System.out ans 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 Scanner sc sc PrintWriter out out public class Main {
	
	String INPUT = "";
	
	public static void main(String[] args) throws Exception {
		new Main().run();
	}
	
	void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	}
	
	void solve(Scanner sc, PrintWriter out) {
		int a,b;
		String op;
		
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		
		while (!"?".equals(op)) {
			int ans = 0;
			if ("+".equals(op)) ans=a+b;
			if ("-".equals(op)) ans=a-b;
			if ("*".equals(op)) ans=a*b;
			if ("/".equals(op)) ans=a/b;
			System.out.println(ans);
			
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
} public class Main {
	
	String INPUT = "";
	
	public static void main(String[] args) throws Exception {
		new Main().run();
	}
	
	void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	}
	
	void solve(Scanner sc, PrintWriter out) {
		int a,b;
		String op;
		
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		
		while (!"?".equals(op)) {
			int ans = 0;
			if ("+".equals(op)) ans=a+b;
			if ("-".equals(op)) ans=a-b;
			if ("*".equals(op)) ans=a*b;
			if ("/".equals(op)) ans=a/b;
			System.out.println(ans);
			
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
} Main
import java.io.ByteArrayInputStream;
import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
	
	String INPUT = "";
	
	public static void main(String[] args) throws Exception {
		new Main().run();
	}
	
	void run() {
		Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));
		PrintWriter out = new PrintWriter(System.out);
		
		solve(sc, out);
		out.flush();
	}
	
	void solve(Scanner sc, PrintWriter out) {
		int a,b;
		String op;
		
		a = sc.nextInt();
		op = sc.next();
		b = sc.nextInt();
		
		while (!"?".equals(op)) {
			int ans = 0;
			if ("+".equals(op)) ans=a+b;
			if ("-".equals(op)) ans=a-b;
			if ("*".equals(op)) ans=a*b;
			if ("/".equals(op)) ans=a/b;
			System.out.println(ans);
			
			a = sc.nextInt();
			op = sc.next();
			b = sc.nextInt();
		}
	}
}

