import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner a = new Scanner(System.in);
		int v = a.nextInt();
		String c = a.next();
		int w = a.nextInt();
		int flg = 1;
		if(c.equals("?"))
			flg = 0;
		while(flg > 0){
		if(c.equals("+")){
			System.out.println(v+w);
		}
		if(c.equals("-")){
			System.out.println(v-w);
		}
		if(c.equals("*")){
			System.out.println(v*w);
		}
		if(c.equals("/")){
			System.out.println(v/w);
		}
		if(c.equals("?")){
			return;
		}
		v = a.nextInt();
		c = a.next();
		w = a.nextInt();
		flg = 1;
		if(c.equals("?"))
			flg = 0;
		}
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args){
		Scanner a = new Scanner(System.in);
		int v = a.nextInt();
		String c = a.next();
		int w = a.nextInt();
		int flg = 1;
		if(c.equals("?"))
			flg = 0;
		while(flg > 0){
		if(c.equals("+")){
			System.out.println(v+w);
		}
		if(c.equals("-")){
			System.out.println(v-w);
		}
		if(c.equals("*")){
			System.out.println(v*w);
		}
		if(c.equals("/")){
			System.out.println(v/w);
		}
		if(c.equals("?")){
			return;
		}
		v = a.nextInt();
		c = a.next();
		w = a.nextInt();
		flg = 1;
		if(c.equals("?"))
			flg = 0;
		}
	}

} Main public static void main(String[] args){
		Scanner a = new Scanner(System.in);
		int v = a.nextInt();
		String c = a.next();
		int w = a.nextInt();
		int flg = 1;
		if(c.equals("?"))
			flg = 0;
		while(flg > 0){
		if(c.equals("+")){
			System.out.println(v+w);
		}
		if(c.equals("-")){
			System.out.println(v-w);
		}
		if(c.equals("*")){
			System.out.println(v*w);
		}
		if(c.equals("/")){
			System.out.println(v/w);
		}
		if(c.equals("?")){
			return;
		}
		v = a.nextInt();
		c = a.next();
		w = a.nextInt();
		flg = 1;
		if(c.equals("?"))
			flg = 0;
		}
	} main {
		Scanner a = new Scanner(System.in);
		int v = a.nextInt();
		String c = a.next();
		int w = a.nextInt();
		int flg = 1;
		if(c.equals("?"))
			flg = 0;
		while(flg > 0){
		if(c.equals("+")){
			System.out.println(v+w);
		}
		if(c.equals("-")){
			System.out.println(v-w);
		}
		if(c.equals("*")){
			System.out.println(v*w);
		}
		if(c.equals("/")){
			System.out.println(v/w);
		}
		if(c.equals("?")){
			return;
		}
		v = a.nextInt();
		c = a.next();
		w = a.nextInt();
		flg = 1;
		if(c.equals("?"))
			flg = 0;
		}
	} Scanner a = new Scanner(System.in); a new Scanner(System.in) int v = a.nextInt(); v a.nextInt() a.nextInt a String c = a.next(); c a.next() a.next a int w = a.nextInt(); w a.nextInt() a.nextInt a int flg = 1; flg 1 if(c.equals("?"))
			flg = 0; c.equals("?") c.equals c "?" flg = 0 flg 0 while(flg > 0){
		if(c.equals("+")){
			System.out.println(v+w);
		}
		if(c.equals("-")){
			System.out.println(v-w);
		}
		if(c.equals("*")){
			System.out.println(v*w);
		}
		if(c.equals("/")){
			System.out.println(v/w);
		}
		if(c.equals("?")){
			return;
		}
		v = a.nextInt();
		c = a.next();
		w = a.nextInt();
		flg = 1;
		if(c.equals("?"))
			flg = 0;
		} flg > 0 flg 0 {
		if(c.equals("+")){
			System.out.println(v+w);
		}
		if(c.equals("-")){
			System.out.println(v-w);
		}
		if(c.equals("*")){
			System.out.println(v*w);
		}
		if(c.equals("/")){
			System.out.println(v/w);
		}
		if(c.equals("?")){
			return;
		}
		v = a.nextInt();
		c = a.next();
		w = a.nextInt();
		flg = 1;
		if(c.equals("?"))
			flg = 0;
		} if(c.equals("+")){
			System.out.println(v+w);
		} c.equals("+") c.equals c "+" {
			System.out.println(v+w);
		} System.out.println(v+w) System.out.println System.out System System.out v+w v w if(c.equals("-")){
			System.out.println(v-w);
		} c.equals("-") c.equals c "-" {
			System.out.println(v-w);
		} System.out.println(v-w) System.out.println System.out System System.out v-w v w if(c.equals("*")){
			System.out.println(v*w);
		} c.equals("*") c.equals c "*" {
			System.out.println(v*w);
		} System.out.println(v*w) System.out.println System.out System System.out v*w v w if(c.equals("/")){
			System.out.println(v/w);
		} c.equals("/") c.equals c "/" {
			System.out.println(v/w);
		} System.out.println(v/w) System.out.println System.out System System.out v/w v w if(c.equals("?")){
			return;
		} c.equals("?") c.equals c "?" {
			return;
		} return; v = a.nextInt() v a.nextInt() a.nextInt a c = a.next() c a.next() a.next a w = a.nextInt() w a.nextInt() a.nextInt a flg = 1 flg 1 if(c.equals("?"))
			flg = 0; c.equals("?") c.equals c "?" flg = 0 flg 0 String[] args args public class Main {
	public static void main(String[] args){
		Scanner a = new Scanner(System.in);
		int v = a.nextInt();
		String c = a.next();
		int w = a.nextInt();
		int flg = 1;
		if(c.equals("?"))
			flg = 0;
		while(flg > 0){
		if(c.equals("+")){
			System.out.println(v+w);
		}
		if(c.equals("-")){
			System.out.println(v-w);
		}
		if(c.equals("*")){
			System.out.println(v*w);
		}
		if(c.equals("/")){
			System.out.println(v/w);
		}
		if(c.equals("?")){
			return;
		}
		v = a.nextInt();
		c = a.next();
		w = a.nextInt();
		flg = 1;
		if(c.equals("?"))
			flg = 0;
		}
	}

} public class Main {
	public static void main(String[] args){
		Scanner a = new Scanner(System.in);
		int v = a.nextInt();
		String c = a.next();
		int w = a.nextInt();
		int flg = 1;
		if(c.equals("?"))
			flg = 0;
		while(flg > 0){
		if(c.equals("+")){
			System.out.println(v+w);
		}
		if(c.equals("-")){
			System.out.println(v-w);
		}
		if(c.equals("*")){
			System.out.println(v*w);
		}
		if(c.equals("/")){
			System.out.println(v/w);
		}
		if(c.equals("?")){
			return;
		}
		v = a.nextInt();
		c = a.next();
		w = a.nextInt();
		flg = 1;
		if(c.equals("?"))
			flg = 0;
		}
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner a = new Scanner(System.in);
		int v = a.nextInt();
		String c = a.next();
		int w = a.nextInt();
		int flg = 1;
		if(c.equals("?"))
			flg = 0;
		while(flg > 0){
		if(c.equals("+")){
			System.out.println(v+w);
		}
		if(c.equals("-")){
			System.out.println(v-w);
		}
		if(c.equals("*")){
			System.out.println(v*w);
		}
		if(c.equals("/")){
			System.out.println(v/w);
		}
		if(c.equals("?")){
			return;
		}
		v = a.nextInt();
		c = a.next();
		w = a.nextInt();
		flg = 1;
		if(c.equals("?"))
			flg = 0;
		}
	}

}