import java.util.Scanner;

public class Main {
public static void main(String[] args) {
	String add = "+";
	String subtract = "-";
	String multiply = "*";
	String division = "/";
		Scanner scan = new Scanner(System.in);
		int q = scan.nextInt();
		String value = scan.next();
		int w = scan.nextInt();
	int answer = 20;
	while (true) {
	if (value.equals(add)) {
		answer = q + w;
	} else if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	}

	System.out.println(answer);
		q = scan.nextInt();
		value = scan.next();
		w = scan.nextInt();
}
} 
}

 import java.util.Scanner; Scanner java.util public class Main {
public static void main(String[] args) {
	String add = "+";
	String subtract = "-";
	String multiply = "*";
	String division = "/";
		Scanner scan = new Scanner(System.in);
		int q = scan.nextInt();
		String value = scan.next();
		int w = scan.nextInt();
	int answer = 20;
	while (true) {
	if (value.equals(add)) {
		answer = q + w;
	} else if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	}

	System.out.println(answer);
		q = scan.nextInt();
		value = scan.next();
		w = scan.nextInt();
}
} 
} Main public static void main(String[] args) {
	String add = "+";
	String subtract = "-";
	String multiply = "*";
	String division = "/";
		Scanner scan = new Scanner(System.in);
		int q = scan.nextInt();
		String value = scan.next();
		int w = scan.nextInt();
	int answer = 20;
	while (true) {
	if (value.equals(add)) {
		answer = q + w;
	} else if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	}

	System.out.println(answer);
		q = scan.nextInt();
		value = scan.next();
		w = scan.nextInt();
}
} main {
	String add = "+";
	String subtract = "-";
	String multiply = "*";
	String division = "/";
		Scanner scan = new Scanner(System.in);
		int q = scan.nextInt();
		String value = scan.next();
		int w = scan.nextInt();
	int answer = 20;
	while (true) {
	if (value.equals(add)) {
		answer = q + w;
	} else if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	}

	System.out.println(answer);
		q = scan.nextInt();
		value = scan.next();
		w = scan.nextInt();
}
} String add = "+"; add "+" String subtract = "-"; subtract "-" String multiply = "*"; multiply "*" String division = "/"; division "/" Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int q = scan.nextInt(); q scan.nextInt() scan.nextInt scan String value = scan.next(); value scan.next() scan.next scan int w = scan.nextInt(); w scan.nextInt() scan.nextInt scan int answer = 20; answer 20 while (true) {
	if (value.equals(add)) {
		answer = q + w;
	} else if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	}

	System.out.println(answer);
		q = scan.nextInt();
		value = scan.next();
		w = scan.nextInt();
} true {
	if (value.equals(add)) {
		answer = q + w;
	} else if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	}

	System.out.println(answer);
		q = scan.nextInt();
		value = scan.next();
		w = scan.nextInt();
} if (value.equals(add)) {
		answer = q + w;
	} else if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	} value.equals(add) value.equals value add {
		answer = q + w;
	} answer = q + w answer q + w q w if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	} value.equals(subtract) value.equals value subtract {
		answer = q - w;
	} answer = q - w answer q - w q w if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	} value.equals(multiply) value.equals value multiply {
		answer = q * w;
	} answer = q * w answer q * w q w if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	} value.equals(division) value.equals value division {
		answer = q / w;
	} answer = q / w answer q / w q w {
		break;
	} break; System.out.println(answer) System.out.println System.out System System.out answer q = scan.nextInt() q scan.nextInt() scan.nextInt scan value = scan.next() value scan.next() scan.next scan w = scan.nextInt() w scan.nextInt() scan.nextInt scan String[] args args public class Main {
public static void main(String[] args) {
	String add = "+";
	String subtract = "-";
	String multiply = "*";
	String division = "/";
		Scanner scan = new Scanner(System.in);
		int q = scan.nextInt();
		String value = scan.next();
		int w = scan.nextInt();
	int answer = 20;
	while (true) {
	if (value.equals(add)) {
		answer = q + w;
	} else if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	}

	System.out.println(answer);
		q = scan.nextInt();
		value = scan.next();
		w = scan.nextInt();
}
} 
} public class Main {
public static void main(String[] args) {
	String add = "+";
	String subtract = "-";
	String multiply = "*";
	String division = "/";
		Scanner scan = new Scanner(System.in);
		int q = scan.nextInt();
		String value = scan.next();
		int w = scan.nextInt();
	int answer = 20;
	while (true) {
	if (value.equals(add)) {
		answer = q + w;
	} else if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	}

	System.out.println(answer);
		q = scan.nextInt();
		value = scan.next();
		w = scan.nextInt();
}
} 
} Main
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
	String add = "+";
	String subtract = "-";
	String multiply = "*";
	String division = "/";
		Scanner scan = new Scanner(System.in);
		int q = scan.nextInt();
		String value = scan.next();
		int w = scan.nextInt();
	int answer = 20;
	while (true) {
	if (value.equals(add)) {
		answer = q + w;
	} else if (value.equals(subtract)) {
		answer = q - w;
	}else if (value.equals(multiply)) {
		answer = q * w;
	} else if (value.equals(division)){
		answer = q / w;
	} else {
		break;
	}

	System.out.println(answer);
		q = scan.nextInt();
		value = scan.next();
		w = scan.nextInt();
}
} 
}


