import java.io.*;
public class Main{
	public static void main(String [] args) throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		char ope;
		int a,b;
		String[] st=new String[3];
		while(true){
		st=br.readLine().split(" ");
		a=Integer.parseInt(st[0]);
		b=Integer.parseInt(st[2]);
		ope=st[1].charAt(0);
		if(ope=='?')break;
		System.out.println(keisan(a,b,ope));}
		}

		static int keisan(int a,int b,char operator){
		int result=0;
		switch(operator){
		case '+':result=a+b;break;
		case '-':result=a-b;break;
		case '*':result=a*b;break;
		case '/':result=a/b;break;
		}
		return (int)result;
		}
		}
		 import java.io.*; io.* java public class Main{
	public static void main(String [] args) throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		char ope;
		int a,b;
		String[] st=new String[3];
		while(true){
		st=br.readLine().split(" ");
		a=Integer.parseInt(st[0]);
		b=Integer.parseInt(st[2]);
		ope=st[1].charAt(0);
		if(ope=='?')break;
		System.out.println(keisan(a,b,ope));}
		}

		static int keisan(int a,int b,char operator){
		int result=0;
		switch(operator){
		case '+':result=a+b;break;
		case '-':result=a-b;break;
		case '*':result=a*b;break;
		case '/':result=a/b;break;
		}
		return (int)result;
		}
		} Main public static void main(String [] args) throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		char ope;
		int a,b;
		String[] st=new String[3];
		while(true){
		st=br.readLine().split(" ");
		a=Integer.parseInt(st[0]);
		b=Integer.parseInt(st[2]);
		ope=st[1].charAt(0);
		if(ope=='?')break;
		System.out.println(keisan(a,b,ope));}
		} main {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		char ope;
		int a,b;
		String[] st=new String[3];
		while(true){
		st=br.readLine().split(" ");
		a=Integer.parseInt(st[0]);
		b=Integer.parseInt(st[2]);
		ope=st[1].charAt(0);
		if(ope=='?')break;
		System.out.println(keisan(a,b,ope));}
		} BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) char ope; ope int a a b; b String[] st=new String[3]; st new String[3] 3 while(true){
		st=br.readLine().split(" ");
		a=Integer.parseInt(st[0]);
		b=Integer.parseInt(st[2]);
		ope=st[1].charAt(0);
		if(ope=='?')break;
		System.out.println(keisan(a,b,ope));} true {
		st=br.readLine().split(" ");
		a=Integer.parseInt(st[0]);
		b=Integer.parseInt(st[2]);
		ope=st[1].charAt(0);
		if(ope=='?')break;
		System.out.println(keisan(a,b,ope));} st=br.readLine().split(" ") st br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " a=Integer.parseInt(st[0]) a Integer.parseInt(st[0]) Integer.parseInt Integer st[0] st 0 b=Integer.parseInt(st[2]) b Integer.parseInt(st[2]) Integer.parseInt Integer st[2] st 2 ope=st[1].charAt(0) ope st[1].charAt(0) st[1].charAt st[1] st 1 0 if(ope=='?')break; ope=='?' ope '?' break; System.out.println(keisan(a,b,ope)) System.out.println System.out System System.out keisan(a,b,ope) keisan a b ope String [] args args static int keisan(int a,int b,char operator){
		int result=0;
		switch(operator){
		case '+':result=a+b;break;
		case '-':result=a-b;break;
		case '*':result=a*b;break;
		case '/':result=a/b;break;
		}
		return (int)result;
		} keisan {
		int result=0;
		switch(operator){
		case '+':result=a+b;break;
		case '-':result=a-b;break;
		case '*':result=a*b;break;
		case '/':result=a/b;break;
		}
		return (int)result;
		} int result=0; result 0 switch(operator){
		case '+':result=a+b;break;
		case '-':result=a-b;break;
		case '*':result=a*b;break;
		case '/':result=a/b;break;
		} operator case '+': '+' case '+': result=a+b result a+b a b break; case '-': '-' case '-': result=a-b result a-b a b break; case '*': '*' case '*': result=a*b result a*b a b break; case '/': '/' case '/': result=a/b result a/b a b break; return (int)result; (int)result int a a int b b char operator operator public class Main{
	public static void main(String [] args) throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		char ope;
		int a,b;
		String[] st=new String[3];
		while(true){
		st=br.readLine().split(" ");
		a=Integer.parseInt(st[0]);
		b=Integer.parseInt(st[2]);
		ope=st[1].charAt(0);
		if(ope=='?')break;
		System.out.println(keisan(a,b,ope));}
		}

		static int keisan(int a,int b,char operator){
		int result=0;
		switch(operator){
		case '+':result=a+b;break;
		case '-':result=a-b;break;
		case '*':result=a*b;break;
		case '/':result=a/b;break;
		}
		return (int)result;
		}
		} public class Main{
	public static void main(String [] args) throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		char ope;
		int a,b;
		String[] st=new String[3];
		while(true){
		st=br.readLine().split(" ");
		a=Integer.parseInt(st[0]);
		b=Integer.parseInt(st[2]);
		ope=st[1].charAt(0);
		if(ope=='?')break;
		System.out.println(keisan(a,b,ope));}
		}

		static int keisan(int a,int b,char operator){
		int result=0;
		switch(operator){
		case '+':result=a+b;break;
		case '-':result=a-b;break;
		case '*':result=a*b;break;
		case '/':result=a/b;break;
		}
		return (int)result;
		}
		} Main
import java.io.*;
public class Main{
	public static void main(String [] args) throws IOException{
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		char ope;
		int a,b;
		String[] st=new String[3];
		while(true){
		st=br.readLine().split(" ");
		a=Integer.parseInt(st[0]);
		b=Integer.parseInt(st[2]);
		ope=st[1].charAt(0);
		if(ope=='?')break;
		System.out.println(keisan(a,b,ope));}
		}

		static int keisan(int a,int b,char operator){
		int result=0;
		switch(operator){
		case '+':result=a+b;break;
		case '-':result=a-b;break;
		case '*':result=a*b;break;
		case '/':result=a/b;break;
		}
		return (int)result;
		}
		}
		