import java.util.*;
import java.io.*;
public class Main{
	public static void main(String[] args){

 		int[] left = new int[1000];
 		int[] right = new int[1000];
 		char[] sign = new char[1000];
 		
 		String buffer;
		Scanner scan = new Scanner(System.in);

		int i = 0;
		while(true){

			left[i] = scan.nextInt();
			buffer = scan.next();
			right[i] = scan.nextInt();
			sign[i] = buffer.charAt(0);
			if(sign[i] == '?'){
				break;
			}
			i++;
			
		}

		i = 0;
		
		while(sign[i] != '?'){

			switch(sign[i]){

				case '+':
					System.out.println(left[i]+right[i]);
					break;
				case '-':
					System.out.println(left[i]-right[i]);
					break;
				case '*':
					System.out.println(left[i]*right[i]);
					break;
				case '/':

					System.out.println(left[i]/right[i]);
					break;
			}
			i++;


		}



	}
} import java.util.*; util.* java import java.io.*; io.* java public class Main{
	public static void main(String[] args){

 		int[] left = new int[1000];
 		int[] right = new int[1000];
 		char[] sign = new char[1000];
 		
 		String buffer;
		Scanner scan = new Scanner(System.in);

		int i = 0;
		while(true){

			left[i] = scan.nextInt();
			buffer = scan.next();
			right[i] = scan.nextInt();
			sign[i] = buffer.charAt(0);
			if(sign[i] == '?'){
				break;
			}
			i++;
			
		}

		i = 0;
		
		while(sign[i] != '?'){

			switch(sign[i]){

				case '+':
					System.out.println(left[i]+right[i]);
					break;
				case '-':
					System.out.println(left[i]-right[i]);
					break;
				case '*':
					System.out.println(left[i]*right[i]);
					break;
				case '/':

					System.out.println(left[i]/right[i]);
					break;
			}
			i++;


		}



	}
} Main public static void main(String[] args){

 		int[] left = new int[1000];
 		int[] right = new int[1000];
 		char[] sign = new char[1000];
 		
 		String buffer;
		Scanner scan = new Scanner(System.in);

		int i = 0;
		while(true){

			left[i] = scan.nextInt();
			buffer = scan.next();
			right[i] = scan.nextInt();
			sign[i] = buffer.charAt(0);
			if(sign[i] == '?'){
				break;
			}
			i++;
			
		}

		i = 0;
		
		while(sign[i] != '?'){

			switch(sign[i]){

				case '+':
					System.out.println(left[i]+right[i]);
					break;
				case '-':
					System.out.println(left[i]-right[i]);
					break;
				case '*':
					System.out.println(left[i]*right[i]);
					break;
				case '/':

					System.out.println(left[i]/right[i]);
					break;
			}
			i++;


		}



	} main {

 		int[] left = new int[1000];
 		int[] right = new int[1000];
 		char[] sign = new char[1000];
 		
 		String buffer;
		Scanner scan = new Scanner(System.in);

		int i = 0;
		while(true){

			left[i] = scan.nextInt();
			buffer = scan.next();
			right[i] = scan.nextInt();
			sign[i] = buffer.charAt(0);
			if(sign[i] == '?'){
				break;
			}
			i++;
			
		}

		i = 0;
		
		while(sign[i] != '?'){

			switch(sign[i]){

				case '+':
					System.out.println(left[i]+right[i]);
					break;
				case '-':
					System.out.println(left[i]-right[i]);
					break;
				case '*':
					System.out.println(left[i]*right[i]);
					break;
				case '/':

					System.out.println(left[i]/right[i]);
					break;
			}
			i++;


		}



	} int[] left = new int[1000]; left new int[1000] 1000 int[] right = new int[1000]; right new int[1000] 1000 char[] sign = new char[1000]; sign new char[1000] 1000 String buffer; buffer Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int i = 0; i 0 while(true){

			left[i] = scan.nextInt();
			buffer = scan.next();
			right[i] = scan.nextInt();
			sign[i] = buffer.charAt(0);
			if(sign[i] == '?'){
				break;
			}
			i++;
			
		} true {

			left[i] = scan.nextInt();
			buffer = scan.next();
			right[i] = scan.nextInt();
			sign[i] = buffer.charAt(0);
			if(sign[i] == '?'){
				break;
			}
			i++;
			
		} left[i] = scan.nextInt() left[i] left i scan.nextInt() scan.nextInt scan buffer = scan.next() buffer scan.next() scan.next scan right[i] = scan.nextInt() right[i] right i scan.nextInt() scan.nextInt scan sign[i] = buffer.charAt(0) sign[i] sign i buffer.charAt(0) buffer.charAt buffer 0 if(sign[i] == '?'){
				break;
			} sign[i] == '?' sign[i] sign i '?' {
				break;
			} break; i++ i i = 0 i 0 while(sign[i] != '?'){

			switch(sign[i]){

				case '+':
					System.out.println(left[i]+right[i]);
					break;
				case '-':
					System.out.println(left[i]-right[i]);
					break;
				case '*':
					System.out.println(left[i]*right[i]);
					break;
				case '/':

					System.out.println(left[i]/right[i]);
					break;
			}
			i++;


		} sign[i] != '?' sign[i] sign i '?' {

			switch(sign[i]){

				case '+':
					System.out.println(left[i]+right[i]);
					break;
				case '-':
					System.out.println(left[i]-right[i]);
					break;
				case '*':
					System.out.println(left[i]*right[i]);
					break;
				case '/':

					System.out.println(left[i]/right[i]);
					break;
			}
			i++;


		} switch(sign[i]){

				case '+':
					System.out.println(left[i]+right[i]);
					break;
				case '-':
					System.out.println(left[i]-right[i]);
					break;
				case '*':
					System.out.println(left[i]*right[i]);
					break;
				case '/':

					System.out.println(left[i]/right[i]);
					break;
			} sign[i] sign i case '+': '+' case '+': System.out.println(left[i]+right[i]) System.out.println System.out System System.out left[i]+right[i] left[i] left i right[i] right i break; case '-': '-' case '-': System.out.println(left[i]-right[i]) System.out.println System.out System System.out left[i]-right[i] left[i] left i right[i] right i break; case '*': '*' case '*': System.out.println(left[i]*right[i]) System.out.println System.out System System.out left[i]*right[i] left[i] left i right[i] right i break; case '/': '/' case '/': System.out.println(left[i]/right[i]) System.out.println System.out System System.out left[i]/right[i] left[i] left i right[i] right i break; i++ i String[] args args public class Main{
	public static void main(String[] args){

 		int[] left = new int[1000];
 		int[] right = new int[1000];
 		char[] sign = new char[1000];
 		
 		String buffer;
		Scanner scan = new Scanner(System.in);

		int i = 0;
		while(true){

			left[i] = scan.nextInt();
			buffer = scan.next();
			right[i] = scan.nextInt();
			sign[i] = buffer.charAt(0);
			if(sign[i] == '?'){
				break;
			}
			i++;
			
		}

		i = 0;
		
		while(sign[i] != '?'){

			switch(sign[i]){

				case '+':
					System.out.println(left[i]+right[i]);
					break;
				case '-':
					System.out.println(left[i]-right[i]);
					break;
				case '*':
					System.out.println(left[i]*right[i]);
					break;
				case '/':

					System.out.println(left[i]/right[i]);
					break;
			}
			i++;


		}



	}
} public class Main{
	public static void main(String[] args){

 		int[] left = new int[1000];
 		int[] right = new int[1000];
 		char[] sign = new char[1000];
 		
 		String buffer;
		Scanner scan = new Scanner(System.in);

		int i = 0;
		while(true){

			left[i] = scan.nextInt();
			buffer = scan.next();
			right[i] = scan.nextInt();
			sign[i] = buffer.charAt(0);
			if(sign[i] == '?'){
				break;
			}
			i++;
			
		}

		i = 0;
		
		while(sign[i] != '?'){

			switch(sign[i]){

				case '+':
					System.out.println(left[i]+right[i]);
					break;
				case '-':
					System.out.println(left[i]-right[i]);
					break;
				case '*':
					System.out.println(left[i]*right[i]);
					break;
				case '/':

					System.out.println(left[i]/right[i]);
					break;
			}
			i++;


		}



	}
} Main
import java.util.*;
import java.io.*;
public class Main{
	public static void main(String[] args){

 		int[] left = new int[1000];
 		int[] right = new int[1000];
 		char[] sign = new char[1000];
 		
 		String buffer;
		Scanner scan = new Scanner(System.in);

		int i = 0;
		while(true){

			left[i] = scan.nextInt();
			buffer = scan.next();
			right[i] = scan.nextInt();
			sign[i] = buffer.charAt(0);
			if(sign[i] == '?'){
				break;
			}
			i++;
			
		}

		i = 0;
		
		while(sign[i] != '?'){

			switch(sign[i]){

				case '+':
					System.out.println(left[i]+right[i]);
					break;
				case '-':
					System.out.println(left[i]-right[i]);
					break;
				case '*':
					System.out.println(left[i]*right[i]);
					break;
				case '/':

					System.out.println(left[i]/right[i]);
					break;
			}
			i++;


		}



	}
}