import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		int a[]=new int[20000];
		int b[]=new int[20000];
		String op1;
		int val[]=new int[20000];

		int i=0;
		while(true){
			a[i]=sc.nextInt();
			op1=sc.next();
			b[i]=sc.nextInt();

			char op2=op1.charAt(0);

			if(op2=='?')	break;
			else{
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			}
		}

		for(int j=0;j<i;j++)	System.out.println(val[j]);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		int a[]=new int[20000];
		int b[]=new int[20000];
		String op1;
		int val[]=new int[20000];

		int i=0;
		while(true){
			a[i]=sc.nextInt();
			op1=sc.next();
			b[i]=sc.nextInt();

			char op2=op1.charAt(0);

			if(op2=='?')	break;
			else{
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			}
		}

		for(int j=0;j<i;j++)	System.out.println(val[j]);
	}
} Main public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		int a[]=new int[20000];
		int b[]=new int[20000];
		String op1;
		int val[]=new int[20000];

		int i=0;
		while(true){
			a[i]=sc.nextInt();
			op1=sc.next();
			b[i]=sc.nextInt();

			char op2=op1.charAt(0);

			if(op2=='?')	break;
			else{
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			}
		}

		for(int j=0;j<i;j++)	System.out.println(val[j]);
	} main {
		Scanner sc=new Scanner(System.in);

		int a[]=new int[20000];
		int b[]=new int[20000];
		String op1;
		int val[]=new int[20000];

		int i=0;
		while(true){
			a[i]=sc.nextInt();
			op1=sc.next();
			b[i]=sc.nextInt();

			char op2=op1.charAt(0);

			if(op2=='?')	break;
			else{
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			}
		}

		for(int j=0;j<i;j++)	System.out.println(val[j]);
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a[]=new int[20000]; a new int[20000] 20000 int b[]=new int[20000]; b new int[20000] 20000 String op1; op1 int val[]=new int[20000]; val new int[20000] 20000 int i=0; i 0 while(true){
			a[i]=sc.nextInt();
			op1=sc.next();
			b[i]=sc.nextInt();

			char op2=op1.charAt(0);

			if(op2=='?')	break;
			else{
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			}
		} true {
			a[i]=sc.nextInt();
			op1=sc.next();
			b[i]=sc.nextInt();

			char op2=op1.charAt(0);

			if(op2=='?')	break;
			else{
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			}
		} a[i]=sc.nextInt() a[i] a i sc.nextInt() sc.nextInt sc op1=sc.next() op1 sc.next() sc.next sc b[i]=sc.nextInt() b[i] b i sc.nextInt() sc.nextInt sc char op2=op1.charAt(0); op2 op1.charAt(0) op1.charAt op1 0 if(op2=='?')	break;
			else{
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			} op2=='?' op2 '?' break; {
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			} switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				} op2 case '+': '+' case '+': val[i]=a[i]+b[i] val[i] val i a[i]+b[i] a[i] a i b[i] b i break; case '-': '-' case '-': val[i]=a[i]-b[i] val[i] val i a[i]-b[i] a[i] a i b[i] b i break; case '*': '*' case '*': val[i]=a[i]*b[i] val[i] val i a[i]*b[i] a[i] a i b[i] b i break; case '/': '/' case '/': val[i]=a[i]/b[i] val[i] val i a[i]/b[i] a[i] a i b[i] b i break; i++ i for(int j=0;j<i;j++)	System.out.println(val[j]); int j=0; int j=0; j 0 j<i j i j++ j++ j System.out.println(val[j]); System.out.println(val[j]) System.out.println System.out System System.out val[j] val j String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		int a[]=new int[20000];
		int b[]=new int[20000];
		String op1;
		int val[]=new int[20000];

		int i=0;
		while(true){
			a[i]=sc.nextInt();
			op1=sc.next();
			b[i]=sc.nextInt();

			char op2=op1.charAt(0);

			if(op2=='?')	break;
			else{
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			}
		}

		for(int j=0;j<i;j++)	System.out.println(val[j]);
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		int a[]=new int[20000];
		int b[]=new int[20000];
		String op1;
		int val[]=new int[20000];

		int i=0;
		while(true){
			a[i]=sc.nextInt();
			op1=sc.next();
			b[i]=sc.nextInt();

			char op2=op1.charAt(0);

			if(op2=='?')	break;
			else{
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			}
		}

		for(int j=0;j<i;j++)	System.out.println(val[j]);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);

		int a[]=new int[20000];
		int b[]=new int[20000];
		String op1;
		int val[]=new int[20000];

		int i=0;
		while(true){
			a[i]=sc.nextInt();
			op1=sc.next();
			b[i]=sc.nextInt();

			char op2=op1.charAt(0);

			if(op2=='?')	break;
			else{
				switch(op2){
				case '+':
					val[i]=a[i]+b[i];
					break;

				case '-':
					val[i]=a[i]-b[i];
					break;

				case '*':
					val[i]=a[i]*b[i];
					break;

				case '/':
					val[i]=a[i]/b[i];
					break;
				}
			i++;
			}
		}

		for(int j=0;j<i;j++)	System.out.println(val[j]);
	}
}