import java.util.*;

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

class Main{
	public static void main(String args[]){
		Scanner sc = new Scanner(System.in);
		int[] ans = new int[20000];
		int cnt = 0;
		
		while(true){
			int a = sc.nextInt();
			String op = sc.next();
			int b = sc.nextInt();
			
			if(op.equals("?"))
				break;
			
			if(op.equals("+"))
				ans[cnt] = a + b;
			else if(op.equals("-"))
				ans[cnt] = a - b;
			else if(op.equals("*"))
				ans[cnt] = a * b;
			else
				ans[cnt] = a / b;
			
			cnt ++;
		}
		
		for(int i = 0; i < cnt; i++){
			System.out.println(ans[i]);
		}
	}
}