import java.util.Arrays;
import java.util.Scanner;

public class Main {

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

		while (true) {
			final long a = sc.nextLong();
			final String ops = sc.next();
			final long b = sc.nextLong();

			if("?".equals(ops)){
				break;
			}else if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			}
			
			
		}
	}

} import java.util.Arrays; Arrays java.util import java.util.Scanner; Scanner java.util public class Main {

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

		while (true) {
			final long a = sc.nextLong();
			final String ops = sc.next();
			final long b = sc.nextLong();

			if("?".equals(ops)){
				break;
			}else if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			}
			
			
		}
	}

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

		while (true) {
			final long a = sc.nextLong();
			final String ops = sc.next();
			final long b = sc.nextLong();

			if("?".equals(ops)){
				break;
			}else if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			}
			
			
		}
	} main {
		Scanner sc = new Scanner(System.in);

		while (true) {
			final long a = sc.nextLong();
			final String ops = sc.next();
			final long b = sc.nextLong();

			if("?".equals(ops)){
				break;
			}else if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			}
			
			
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while (true) {
			final long a = sc.nextLong();
			final String ops = sc.next();
			final long b = sc.nextLong();

			if("?".equals(ops)){
				break;
			}else if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			}
			
			
		} true {
			final long a = sc.nextLong();
			final String ops = sc.next();
			final long b = sc.nextLong();

			if("?".equals(ops)){
				break;
			}else if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			}
			
			
		} final long a = sc.nextLong(); a sc.nextLong() sc.nextLong sc final String ops = sc.next(); ops sc.next() sc.next sc final long b = sc.nextLong(); b sc.nextLong() sc.nextLong sc if("?".equals(ops)){
				break;
			}else if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			} "?".equals(ops) "?".equals "?" ops {
				break;
			} break; if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			} "+".equals(ops) "+".equals "+" ops {
				System.out.println(a + b);
			} System.out.println(a + b) System.out.println System.out System System.out a + b a b if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			} "-".equals(ops) "-".equals "-" ops {
				System.out.println(a - b);
			} System.out.println(a - b) System.out.println System.out System System.out a - b a b if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			} "*".equals(ops) "*".equals "*" ops {
				System.out.println(a * b);
			} System.out.println(a * b) System.out.println System.out System System.out a * b a b if("/".equals(ops)){
				System.out.println(a / b);
			} "/".equals(ops) "/".equals "/" ops {
				System.out.println(a / b);
			} System.out.println(a / b) System.out.println System.out System System.out a / b a b String args[] args public class Main {

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

		while (true) {
			final long a = sc.nextLong();
			final String ops = sc.next();
			final long b = sc.nextLong();

			if("?".equals(ops)){
				break;
			}else if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			}
			
			
		}
	}

} public class Main {

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

		while (true) {
			final long a = sc.nextLong();
			final String ops = sc.next();
			final long b = sc.nextLong();

			if("?".equals(ops)){
				break;
			}else if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			}
			
			
		}
	}

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

public class Main {

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

		while (true) {
			final long a = sc.nextLong();
			final String ops = sc.next();
			final long b = sc.nextLong();

			if("?".equals(ops)){
				break;
			}else if("+".equals(ops)){
				System.out.println(a + b);
			}else if("-".equals(ops)){
				System.out.println(a - b);
			}else if("*".equals(ops)){
				System.out.println(a * b);
			}else if("/".equals(ops)){
				System.out.println(a / b);
			}
			
			
		}
	}

}