import java.util.Scanner;
import java.util.ArrayList;


class Main {

	public static void main(String[] args) {
	
		Scanner sc = new Scanner(System.in);
		int a = 1;
		int b = 1;
		
		ArrayList<Integer> array = new ArrayList<Integer>();
		
		String str1 = "+";
		String str2 = "-";
		String str3 = "*";
		String str4 = "/";
		String str5 = "?";
		
		if(0 <= a && b <= 20000){
			while(true){
				
				a = sc.nextInt();
				String enzan = sc.next();
				b = sc.nextInt();
				int c = 0;
				
				
				
				if(enzan.equals(str1)){
					c = a + b;
					array.add(c);
				}
				else if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break;
			
			}
		
		}
		
		for(int i = 0; i<array.size(); i++){
			
			System.out.println(array.get(i));
		}
	}

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

	public static void main(String[] args) {
	
		Scanner sc = new Scanner(System.in);
		int a = 1;
		int b = 1;
		
		ArrayList<Integer> array = new ArrayList<Integer>();
		
		String str1 = "+";
		String str2 = "-";
		String str3 = "*";
		String str4 = "/";
		String str5 = "?";
		
		if(0 <= a && b <= 20000){
			while(true){
				
				a = sc.nextInt();
				String enzan = sc.next();
				b = sc.nextInt();
				int c = 0;
				
				
				
				if(enzan.equals(str1)){
					c = a + b;
					array.add(c);
				}
				else if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break;
			
			}
		
		}
		
		for(int i = 0; i<array.size(); i++){
			
			System.out.println(array.get(i));
		}
	}

} Main public static void main(String[] args) {
	
		Scanner sc = new Scanner(System.in);
		int a = 1;
		int b = 1;
		
		ArrayList<Integer> array = new ArrayList<Integer>();
		
		String str1 = "+";
		String str2 = "-";
		String str3 = "*";
		String str4 = "/";
		String str5 = "?";
		
		if(0 <= a && b <= 20000){
			while(true){
				
				a = sc.nextInt();
				String enzan = sc.next();
				b = sc.nextInt();
				int c = 0;
				
				
				
				if(enzan.equals(str1)){
					c = a + b;
					array.add(c);
				}
				else if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break;
			
			}
		
		}
		
		for(int i = 0; i<array.size(); i++){
			
			System.out.println(array.get(i));
		}
	} main {
	
		Scanner sc = new Scanner(System.in);
		int a = 1;
		int b = 1;
		
		ArrayList<Integer> array = new ArrayList<Integer>();
		
		String str1 = "+";
		String str2 = "-";
		String str3 = "*";
		String str4 = "/";
		String str5 = "?";
		
		if(0 <= a && b <= 20000){
			while(true){
				
				a = sc.nextInt();
				String enzan = sc.next();
				b = sc.nextInt();
				int c = 0;
				
				
				
				if(enzan.equals(str1)){
					c = a + b;
					array.add(c);
				}
				else if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break;
			
			}
		
		}
		
		for(int i = 0; i<array.size(); i++){
			
			System.out.println(array.get(i));
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int a = 1; a 1 int b = 1; b 1 ArrayList<Integer> array = new ArrayList<Integer>(); array new ArrayList<Integer>() String str1 = "+"; str1 "+" String str2 = "-"; str2 "-" String str3 = "*"; str3 "*" String str4 = "/"; str4 "/" String str5 = "?"; str5 "?" if(0 <= a && b <= 20000){
			while(true){
				
				a = sc.nextInt();
				String enzan = sc.next();
				b = sc.nextInt();
				int c = 0;
				
				
				
				if(enzan.equals(str1)){
					c = a + b;
					array.add(c);
				}
				else if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break;
			
			}
		
		} 0 <= a && b <= 20000 0 <= a 0 a b <= 20000 b 20000 {
			while(true){
				
				a = sc.nextInt();
				String enzan = sc.next();
				b = sc.nextInt();
				int c = 0;
				
				
				
				if(enzan.equals(str1)){
					c = a + b;
					array.add(c);
				}
				else if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break;
			
			}
		
		} while(true){
				
				a = sc.nextInt();
				String enzan = sc.next();
				b = sc.nextInt();
				int c = 0;
				
				
				
				if(enzan.equals(str1)){
					c = a + b;
					array.add(c);
				}
				else if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break;
			
			} true {
				
				a = sc.nextInt();
				String enzan = sc.next();
				b = sc.nextInt();
				int c = 0;
				
				
				
				if(enzan.equals(str1)){
					c = a + b;
					array.add(c);
				}
				else if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break;
			
			} a = sc.nextInt() a sc.nextInt() sc.nextInt sc String enzan = sc.next(); enzan sc.next() sc.next sc b = sc.nextInt() b sc.nextInt() sc.nextInt sc int c = 0; c 0 if(enzan.equals(str1)){
					c = a + b;
					array.add(c);
				}
				else if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break; enzan.equals(str1) enzan.equals enzan str1 {
					c = a + b;
					array.add(c);
				} c = a + b c a + b a b array.add(c) array.add array c if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break; enzan.equals(str2) enzan.equals enzan str2 {
					c = a - b;
					array.add(c);
				} c = a - b c a - b a b array.add(c) array.add array c if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break; enzan.equals(str3) enzan.equals enzan str3 {
					c = a * b;
					array.add(c);
				} c = a * b c a * b a b array.add(c) array.add array c if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break; enzan.equals(str4) enzan.equals enzan str4 {
					c = a / b;
					array.add(c);
				} c = a / b c a / b a b array.add(c) array.add array c if(enzan.equals(str5))
					break; enzan.equals(str5) enzan.equals enzan str5 break; for(int i = 0; i<array.size(); i++){
			
			System.out.println(array.get(i));
		} int i = 0; int i = 0; i 0 i<array.size() i array.size() array.size array i++ i++ i {
			
			System.out.println(array.get(i));
		} {
			
			System.out.println(array.get(i));
		} System.out.println(array.get(i)) System.out.println System.out System System.out array.get(i) array.get array i String[] args args
import java.util.Scanner;
import java.util.ArrayList;


class Main {

	public static void main(String[] args) {
	
		Scanner sc = new Scanner(System.in);
		int a = 1;
		int b = 1;
		
		ArrayList<Integer> array = new ArrayList<Integer>();
		
		String str1 = "+";
		String str2 = "-";
		String str3 = "*";
		String str4 = "/";
		String str5 = "?";
		
		if(0 <= a && b <= 20000){
			while(true){
				
				a = sc.nextInt();
				String enzan = sc.next();
				b = sc.nextInt();
				int c = 0;
				
				
				
				if(enzan.equals(str1)){
					c = a + b;
					array.add(c);
				}
				else if(enzan.equals(str2)){
					c = a - b;
					array.add(c);
				}
				else if(enzan.equals(str3)){
					c = a * b;
					array.add(c);
				}
				else if(enzan.equals(str4)){
					c = a / b;
					array.add(c);
				}
				else if(enzan.equals(str5))
					break;
			
			}
		
		}
		
		for(int i = 0; i<array.size(); i++){
			
			System.out.println(array.get(i));
		}
	}

}