import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a=sc.nextInt();String op =sc.next();int b=sc.nextInt();
		while (!op.equals("?")){
				if(op.equals("+")){
			System.out.println(a + b);
		}else if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");}
				a=sc.nextInt();op =sc.next();b=sc.nextInt();}
				}
		} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a=sc.nextInt();String op =sc.next();int b=sc.nextInt();
		while (!op.equals("?")){
				if(op.equals("+")){
			System.out.println(a + b);
		}else if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");}
				a=sc.nextInt();op =sc.next();b=sc.nextInt();}
				}
		} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a=sc.nextInt();String op =sc.next();int b=sc.nextInt();
		while (!op.equals("?")){
				if(op.equals("+")){
			System.out.println(a + b);
		}else if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");}
				a=sc.nextInt();op =sc.next();b=sc.nextInt();}
				} main {
		Scanner sc = new Scanner(System.in);
		int a=sc.nextInt();String op =sc.next();int b=sc.nextInt();
		while (!op.equals("?")){
				if(op.equals("+")){
			System.out.println(a + b);
		}else if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");}
				a=sc.nextInt();op =sc.next();b=sc.nextInt();}
				} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc String op =sc.next(); op sc.next() sc.next sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc while (!op.equals("?")){
				if(op.equals("+")){
			System.out.println(a + b);
		}else if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");}
				a=sc.nextInt();op =sc.next();b=sc.nextInt();} !op.equals("?") op.equals("?") op.equals op "?" {
				if(op.equals("+")){
			System.out.println(a + b);
		}else if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");}
				a=sc.nextInt();op =sc.next();b=sc.nextInt();} if(op.equals("+")){
			System.out.println(a + b);
		}else if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");} op.equals("+") op.equals op "+" {
			System.out.println(a + b);
		} System.out.println(a + b) System.out.println System.out System System.out a + b a b if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");} op.equals("-") op.equals op "-" {
			System.out.println(a - b);
		} System.out.println(a - b) System.out.println System.out System System.out a - b a b if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");} op.equals("*") op.equals op "*" {
			System.out.println(a * b);
		} System.out.println(a * b) System.out.println System.out System System.out a * b a b if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");} op.equals("/") op.equals op "/" {
			System.out.println(a / b);
		} System.out.println(a / b) System.out.println System.out System System.out a / b a b {System.out.println("tas");} System.out.println("tas") System.out.println System.out System System.out "tas" 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 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a=sc.nextInt();String op =sc.next();int b=sc.nextInt();
		while (!op.equals("?")){
				if(op.equals("+")){
			System.out.println(a + b);
		}else if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");}
				a=sc.nextInt();op =sc.next();b=sc.nextInt();}
				}
		} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a=sc.nextInt();String op =sc.next();int b=sc.nextInt();
		while (!op.equals("?")){
				if(op.equals("+")){
			System.out.println(a + b);
		}else if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");}
				a=sc.nextInt();op =sc.next();b=sc.nextInt();}
				}
		} Main
import java.util.Scanner;
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int a=sc.nextInt();String op =sc.next();int b=sc.nextInt();
		while (!op.equals("?")){
				if(op.equals("+")){
			System.out.println(a + b);
		}else if(op.equals("-")){
			System.out.println(a - b);
		}else if(op.equals("*")){
			System.out.println(a * b);
		}else if(op.equals("/")){
			System.out.println(a / b);
		}else {System.out.println("tas");}
				a=sc.nextInt();op =sc.next();b=sc.nextInt();}
				}
		}