import java.util.Scanner;

class Main {

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

		int str1 = scan.nextInt();
		String str = scan.next();
		int str2 = scan.nextInt();
		
		while(!str.equals("?")){
			int x = 0;
			if((str.equals("+"))){
				x = str1 + str2;
				System.out.println(x);
			}else if((str.equals("-"))){
				x = str1 - str2;
				System.out.println(x);
			}else if((str.equals("*"))){
				x = str1 * str2;
				System.out.println(x);
			}else if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			}
			str1 = scan.nextInt();
			str = scan.next();
			str2 = scan.nextInt();

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

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

		int str1 = scan.nextInt();
		String str = scan.next();
		int str2 = scan.nextInt();
		
		while(!str.equals("?")){
			int x = 0;
			if((str.equals("+"))){
				x = str1 + str2;
				System.out.println(x);
			}else if((str.equals("-"))){
				x = str1 - str2;
				System.out.println(x);
			}else if((str.equals("*"))){
				x = str1 * str2;
				System.out.println(x);
			}else if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			}
			str1 = scan.nextInt();
			str = scan.next();
			str2 = scan.nextInt();

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

		int str1 = scan.nextInt();
		String str = scan.next();
		int str2 = scan.nextInt();
		
		while(!str.equals("?")){
			int x = 0;
			if((str.equals("+"))){
				x = str1 + str2;
				System.out.println(x);
			}else if((str.equals("-"))){
				x = str1 - str2;
				System.out.println(x);
			}else if((str.equals("*"))){
				x = str1 * str2;
				System.out.println(x);
			}else if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			}
			str1 = scan.nextInt();
			str = scan.next();
			str2 = scan.nextInt();

		}
		
	} main {
		Scanner scan = new Scanner(System.in);

		int str1 = scan.nextInt();
		String str = scan.next();
		int str2 = scan.nextInt();
		
		while(!str.equals("?")){
			int x = 0;
			if((str.equals("+"))){
				x = str1 + str2;
				System.out.println(x);
			}else if((str.equals("-"))){
				x = str1 - str2;
				System.out.println(x);
			}else if((str.equals("*"))){
				x = str1 * str2;
				System.out.println(x);
			}else if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			}
			str1 = scan.nextInt();
			str = scan.next();
			str2 = scan.nextInt();

		}
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int str1 = scan.nextInt(); str1 scan.nextInt() scan.nextInt scan String str = scan.next(); str scan.next() scan.next scan int str2 = scan.nextInt(); str2 scan.nextInt() scan.nextInt scan while(!str.equals("?")){
			int x = 0;
			if((str.equals("+"))){
				x = str1 + str2;
				System.out.println(x);
			}else if((str.equals("-"))){
				x = str1 - str2;
				System.out.println(x);
			}else if((str.equals("*"))){
				x = str1 * str2;
				System.out.println(x);
			}else if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			}
			str1 = scan.nextInt();
			str = scan.next();
			str2 = scan.nextInt();

		} !str.equals("?") str.equals("?") str.equals str "?" {
			int x = 0;
			if((str.equals("+"))){
				x = str1 + str2;
				System.out.println(x);
			}else if((str.equals("-"))){
				x = str1 - str2;
				System.out.println(x);
			}else if((str.equals("*"))){
				x = str1 * str2;
				System.out.println(x);
			}else if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			}
			str1 = scan.nextInt();
			str = scan.next();
			str2 = scan.nextInt();

		} int x = 0; x 0 if((str.equals("+"))){
				x = str1 + str2;
				System.out.println(x);
			}else if((str.equals("-"))){
				x = str1 - str2;
				System.out.println(x);
			}else if((str.equals("*"))){
				x = str1 * str2;
				System.out.println(x);
			}else if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			} (str.equals("+")) str.equals str "+" {
				x = str1 + str2;
				System.out.println(x);
			} x = str1 + str2 x str1 + str2 str1 str2 System.out.println(x) System.out.println System.out System System.out x if((str.equals("-"))){
				x = str1 - str2;
				System.out.println(x);
			}else if((str.equals("*"))){
				x = str1 * str2;
				System.out.println(x);
			}else if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			} (str.equals("-")) str.equals str "-" {
				x = str1 - str2;
				System.out.println(x);
			} x = str1 - str2 x str1 - str2 str1 str2 System.out.println(x) System.out.println System.out System System.out x if((str.equals("*"))){
				x = str1 * str2;
				System.out.println(x);
			}else if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			} (str.equals("*")) str.equals str "*" {
				x = str1 * str2;
				System.out.println(x);
			} x = str1 * str2 x str1 * str2 str1 str2 System.out.println(x) System.out.println System.out System System.out x if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			} (str.equals("/")) str.equals str "/" {
				x = str1 / str2;
				System.out.println(x);
			} x = str1 / str2 x str1 / str2 str1 str2 System.out.println(x) System.out.println System.out System System.out x str1 = scan.nextInt() str1 scan.nextInt() scan.nextInt scan str = scan.next() str scan.next() scan.next scan str2 = scan.nextInt() str2 scan.nextInt() scan.nextInt scan String[] args args
import java.util.Scanner;

class Main {

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

		int str1 = scan.nextInt();
		String str = scan.next();
		int str2 = scan.nextInt();
		
		while(!str.equals("?")){
			int x = 0;
			if((str.equals("+"))){
				x = str1 + str2;
				System.out.println(x);
			}else if((str.equals("-"))){
				x = str1 - str2;
				System.out.println(x);
			}else if((str.equals("*"))){
				x = str1 * str2;
				System.out.println(x);
			}else if((str.equals("/"))){
				x = str1 / str2;
				System.out.println(x);
			}
			str1 = scan.nextInt();
			str = scan.next();
			str2 = scan.nextInt();

		}
		
	}
}