import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		int a,b,s=0;
		String op="+";
		Scanner scan = new Scanner(System.in);
		while(true)
		{
			a=scan.nextInt();

			op=scan.next();
			b=scan.nextInt();
			if(op.equals("?"))
				break;
			
			switch (op){
			  case "+":
				  s=a+b;
				  break;
			  case "-":
				  s=a-b;
				  break;
			  case "*":
				  s=a*b;
				  break;
			  case "/":
				  s=a/b;
				  break;
				    default :
				    break;
			}
		System.out.println(s);
		
		}
		
	}
	} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		int a,b,s=0;
		String op="+";
		Scanner scan = new Scanner(System.in);
		while(true)
		{
			a=scan.nextInt();

			op=scan.next();
			b=scan.nextInt();
			if(op.equals("?"))
				break;
			
			switch (op){
			  case "+":
				  s=a+b;
				  break;
			  case "-":
				  s=a-b;
				  break;
			  case "*":
				  s=a*b;
				  break;
			  case "/":
				  s=a/b;
				  break;
				    default :
				    break;
			}
		System.out.println(s);
		
		}
		
	}
	} Main public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		int a,b,s=0;
		String op="+";
		Scanner scan = new Scanner(System.in);
		while(true)
		{
			a=scan.nextInt();

			op=scan.next();
			b=scan.nextInt();
			if(op.equals("?"))
				break;
			
			switch (op){
			  case "+":
				  s=a+b;
				  break;
			  case "-":
				  s=a-b;
				  break;
			  case "*":
				  s=a*b;
				  break;
			  case "/":
				  s=a/b;
				  break;
				    default :
				    break;
			}
		System.out.println(s);
		
		}
		
	} main {
		// TODO ?????????????????????????????????????????????
		int a,b,s=0;
		String op="+";
		Scanner scan = new Scanner(System.in);
		while(true)
		{
			a=scan.nextInt();

			op=scan.next();
			b=scan.nextInt();
			if(op.equals("?"))
				break;
			
			switch (op){
			  case "+":
				  s=a+b;
				  break;
			  case "-":
				  s=a-b;
				  break;
			  case "*":
				  s=a*b;
				  break;
			  case "/":
				  s=a/b;
				  break;
				    default :
				    break;
			}
		System.out.println(s);
		
		}
		
	} int a a b b s=0; s 0 String op="+"; op "+" Scanner scan = new Scanner(System.in); scan new Scanner(System.in) while(true)
		{
			a=scan.nextInt();

			op=scan.next();
			b=scan.nextInt();
			if(op.equals("?"))
				break;
			
			switch (op){
			  case "+":
				  s=a+b;
				  break;
			  case "-":
				  s=a-b;
				  break;
			  case "*":
				  s=a*b;
				  break;
			  case "/":
				  s=a/b;
				  break;
				    default :
				    break;
			}
		System.out.println(s);
		
		} true {
			a=scan.nextInt();

			op=scan.next();
			b=scan.nextInt();
			if(op.equals("?"))
				break;
			
			switch (op){
			  case "+":
				  s=a+b;
				  break;
			  case "-":
				  s=a-b;
				  break;
			  case "*":
				  s=a*b;
				  break;
			  case "/":
				  s=a/b;
				  break;
				    default :
				    break;
			}
		System.out.println(s);
		
		} a=scan.nextInt() a scan.nextInt() scan.nextInt scan op=scan.next() op scan.next() scan.next scan b=scan.nextInt() b scan.nextInt() scan.nextInt scan if(op.equals("?"))
				break; op.equals("?") op.equals op "?" break; switch (op){
			  case "+":
				  s=a+b;
				  break;
			  case "-":
				  s=a-b;
				  break;
			  case "*":
				  s=a*b;
				  break;
			  case "/":
				  s=a/b;
				  break;
				    default :
				    break;
			} op case "+": "+" case "+": s=a+b s a+b a b break; case "-": "-" case "-": s=a-b s a-b a b break; case "*": "*" case "*": s=a*b s a*b a b break; case "/": "/" case "/": s=a/b s a/b a b break; default : default : break; System.out.println(s) System.out.println System.out System System.out s String[] args args public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		int a,b,s=0;
		String op="+";
		Scanner scan = new Scanner(System.in);
		while(true)
		{
			a=scan.nextInt();

			op=scan.next();
			b=scan.nextInt();
			if(op.equals("?"))
				break;
			
			switch (op){
			  case "+":
				  s=a+b;
				  break;
			  case "-":
				  s=a-b;
				  break;
			  case "*":
				  s=a*b;
				  break;
			  case "/":
				  s=a/b;
				  break;
				    default :
				    break;
			}
		System.out.println(s);
		
		}
		
	}
	} public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		int a,b,s=0;
		String op="+";
		Scanner scan = new Scanner(System.in);
		while(true)
		{
			a=scan.nextInt();

			op=scan.next();
			b=scan.nextInt();
			if(op.equals("?"))
				break;
			
			switch (op){
			  case "+":
				  s=a+b;
				  break;
			  case "-":
				  s=a-b;
				  break;
			  case "*":
				  s=a*b;
				  break;
			  case "/":
				  s=a/b;
				  break;
				    default :
				    break;
			}
		System.out.println(s);
		
		}
		
	}
	} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO ?????????????????????????????????????????????
		int a,b,s=0;
		String op="+";
		Scanner scan = new Scanner(System.in);
		while(true)
		{
			a=scan.nextInt();

			op=scan.next();
			b=scan.nextInt();
			if(op.equals("?"))
				break;
			
			switch (op){
			  case "+":
				  s=a+b;
				  break;
			  case "-":
				  s=a-b;
				  break;
			  case "*":
				  s=a*b;
				  break;
			  case "/":
				  s=a/b;
				  break;
				    default :
				    break;
			}
		System.out.println(s);
		
		}
		
	}
	}