import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		int answer = 0;
		String s[] = new String[3];
		Scanner sc = new Scanner(System.in);
		
		while(true){//入力があったら繰り返し開始
			for(int i = 0; i<s.length; i++){
				s[i] = sc.next();
			}
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if(op.equals("?")){
				break;
			}else if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			}
		}
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String[] args){
		int answer = 0;
		String s[] = new String[3];
		Scanner sc = new Scanner(System.in);
		
		while(true){//入力があったら繰り返し開始
			for(int i = 0; i<s.length; i++){
				s[i] = sc.next();
			}
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if(op.equals("?")){
				break;
			}else if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			}
		}
		sc.close();
	}
} Main public static void main(String[] args){
		int answer = 0;
		String s[] = new String[3];
		Scanner sc = new Scanner(System.in);
		
		while(true){//入力があったら繰り返し開始
			for(int i = 0; i<s.length; i++){
				s[i] = sc.next();
			}
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if(op.equals("?")){
				break;
			}else if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			}
		}
		sc.close();
	} main {
		int answer = 0;
		String s[] = new String[3];
		Scanner sc = new Scanner(System.in);
		
		while(true){//入力があったら繰り返し開始
			for(int i = 0; i<s.length; i++){
				s[i] = sc.next();
			}
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if(op.equals("?")){
				break;
			}else if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			}
		}
		sc.close();
	} int answer = 0; answer 0 String s[] = new String[3]; s new String[3] 3 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) while(true){//入力があったら繰り返し開始
			for(int i = 0; i<s.length; i++){
				s[i] = sc.next();
			}
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if(op.equals("?")){
				break;
			}else if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			}
		} true {//入力があったら繰り返し開始
			for(int i = 0; i<s.length; i++){
				s[i] = sc.next();
			}
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if(op.equals("?")){
				break;
			}else if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			}
		} for(int i = 0; i<s.length; i++){
				s[i] = sc.next();
			} int i = 0; int i = 0; i 0 i<s.length i s.length s s.length i++ i++ i {
				s[i] = sc.next();
			} {
				s[i] = sc.next();
			} s[i] = sc.next() s[i] s i sc.next() sc.next sc int a = Integer.parseInt(s[0]); a Integer.parseInt(s[0]) Integer.parseInt Integer s[0] s 0 String op = s[1]; op s[1] s 1 int b = Integer.parseInt(s[2]); b Integer.parseInt(s[2]) Integer.parseInt Integer s[2] s 2 if(op.equals("?")){
				break;
			}else if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			} op.equals("?") op.equals op "?" {
				break;
			} break; if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			} op.equals("+") op.equals op "+" {
				answer=a+b;System.out.println(answer);
			} answer=a+b answer a+b a b System.out.println(answer) System.out.println System.out System System.out answer if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			} op.equals("-") op.equals op "-" {
				answer=a-b;System.out.println(answer);
			} answer=a-b answer a-b a b System.out.println(answer) System.out.println System.out System System.out answer if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			} op.equals("*") op.equals op "*" {
				answer=a*b;System.out.println(answer);
			} answer=a*b answer a*b a b System.out.println(answer) System.out.println System.out System System.out answer if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			} op.equals("/") op.equals op "/" {
				answer=a/b;System.out.println(answer);
			} answer=a/b answer a/b a b System.out.println(answer) System.out.println System.out System System.out answer sc.close() sc.close sc String[] args args public class Main{
	public static void main(String[] args){
		int answer = 0;
		String s[] = new String[3];
		Scanner sc = new Scanner(System.in);
		
		while(true){//入力があったら繰り返し開始
			for(int i = 0; i<s.length; i++){
				s[i] = sc.next();
			}
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if(op.equals("?")){
				break;
			}else if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			}
		}
		sc.close();
	}
} public class Main{
	public static void main(String[] args){
		int answer = 0;
		String s[] = new String[3];
		Scanner sc = new Scanner(System.in);
		
		while(true){//入力があったら繰り返し開始
			for(int i = 0; i<s.length; i++){
				s[i] = sc.next();
			}
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if(op.equals("?")){
				break;
			}else if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			}
		}
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		int answer = 0;
		String s[] = new String[3];
		Scanner sc = new Scanner(System.in);
		
		while(true){//入力があったら繰り返し開始
			for(int i = 0; i<s.length; i++){
				s[i] = sc.next();
			}
			int a = Integer.parseInt(s[0]);
			String op = s[1];
			int b = Integer.parseInt(s[2]);
			if(op.equals("?")){
				break;
			}else if(op.equals("+")){
				answer=a+b;System.out.println(answer);
			}else if(op.equals("-")){
				answer=a-b;System.out.println(answer);
			}else if(op.equals("*")){
				answer=a*b;System.out.println(answer);
			}else if(op.equals("/")){
				answer=a/b;System.out.println(answer);
			}
		}
		sc.close();
	}
}