import java.util.Scanner;

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

		//????????????????????????????????????
		//????????????????¨????????????????

		//???????????§???????????????
		Scanner sc = new Scanner(System.in);
		String stOP = "";

		while(!("?".equals(stOP))){
			int A = sc.nextInt();
			stOP = sc.next();
			int B = sc.nextInt();
			int Ans = 0;


			if("+".equals(stOP)){
				Ans = A + B;
				System.out.println(Ans);
			}else if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			}
		}
	}
} import java.util.Scanner; Scanner java.util public class Main{
	public static void main(String args[]){

		//????????????????????????????????????
		//????????????????¨????????????????

		//???????????§???????????????
		Scanner sc = new Scanner(System.in);
		String stOP = "";

		while(!("?".equals(stOP))){
			int A = sc.nextInt();
			stOP = sc.next();
			int B = sc.nextInt();
			int Ans = 0;


			if("+".equals(stOP)){
				Ans = A + B;
				System.out.println(Ans);
			}else if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			}
		}
	}
} Main public static void main(String args[]){

		//????????????????????????????????????
		//????????????????¨????????????????

		//???????????§???????????????
		Scanner sc = new Scanner(System.in);
		String stOP = "";

		while(!("?".equals(stOP))){
			int A = sc.nextInt();
			stOP = sc.next();
			int B = sc.nextInt();
			int Ans = 0;


			if("+".equals(stOP)){
				Ans = A + B;
				System.out.println(Ans);
			}else if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			}
		}
	} main {

		//????????????????????????????????????
		//????????????????¨????????????????

		//???????????§???????????????
		Scanner sc = new Scanner(System.in);
		String stOP = "";

		while(!("?".equals(stOP))){
			int A = sc.nextInt();
			stOP = sc.next();
			int B = sc.nextInt();
			int Ans = 0;


			if("+".equals(stOP)){
				Ans = A + B;
				System.out.println(Ans);
			}else if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			}
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String stOP = ""; stOP "" while(!("?".equals(stOP))){
			int A = sc.nextInt();
			stOP = sc.next();
			int B = sc.nextInt();
			int Ans = 0;


			if("+".equals(stOP)){
				Ans = A + B;
				System.out.println(Ans);
			}else if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			}
		} !("?".equals(stOP)) ("?".equals(stOP)) "?".equals "?" stOP {
			int A = sc.nextInt();
			stOP = sc.next();
			int B = sc.nextInt();
			int Ans = 0;


			if("+".equals(stOP)){
				Ans = A + B;
				System.out.println(Ans);
			}else if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			}
		} int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc stOP = sc.next() stOP sc.next() sc.next sc int B = sc.nextInt(); B sc.nextInt() sc.nextInt sc int Ans = 0; Ans 0 if("+".equals(stOP)){
				Ans = A + B;
				System.out.println(Ans);
			}else if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			} "+".equals(stOP) "+".equals "+" stOP {
				Ans = A + B;
				System.out.println(Ans);
			} Ans = A + B Ans A + B A B System.out.println(Ans) System.out.println System.out System System.out Ans if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			} "-".equals(stOP) "-".equals "-" stOP {
				Ans = A - B;
				System.out.println(Ans);
			} Ans = A - B Ans A - B A B System.out.println(Ans) System.out.println System.out System System.out Ans if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			} "*".equals(stOP) "*".equals "*" stOP {
				Ans = A * B;
				System.out.println(Ans);
			} Ans = A * B Ans A * B A B System.out.println(Ans) System.out.println System.out System System.out Ans if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			} "/".equals(stOP) "/".equals "/" stOP {
				Ans = A / B;
				System.out.println(Ans);
			} Ans = A / B Ans A / B A B System.out.println(Ans) System.out.println System.out System System.out Ans if("?".equals(stOP)){
				break;
			} "?".equals(stOP) "?".equals "?" stOP {
				break;
			} break; String args[] args public class Main{
	public static void main(String args[]){

		//????????????????????????????????????
		//????????????????¨????????????????

		//???????????§???????????????
		Scanner sc = new Scanner(System.in);
		String stOP = "";

		while(!("?".equals(stOP))){
			int A = sc.nextInt();
			stOP = sc.next();
			int B = sc.nextInt();
			int Ans = 0;


			if("+".equals(stOP)){
				Ans = A + B;
				System.out.println(Ans);
			}else if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			}
		}
	}
} public class Main{
	public static void main(String args[]){

		//????????????????????????????????????
		//????????????????¨????????????????

		//???????????§???????????????
		Scanner sc = new Scanner(System.in);
		String stOP = "";

		while(!("?".equals(stOP))){
			int A = sc.nextInt();
			stOP = sc.next();
			int B = sc.nextInt();
			int Ans = 0;


			if("+".equals(stOP)){
				Ans = A + B;
				System.out.println(Ans);
			}else if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			}
		}
	}
} Main
import java.util.Scanner;

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

		//????????????????????????????????????
		//????????????????¨????????????????

		//???????????§???????????????
		Scanner sc = new Scanner(System.in);
		String stOP = "";

		while(!("?".equals(stOP))){
			int A = sc.nextInt();
			stOP = sc.next();
			int B = sc.nextInt();
			int Ans = 0;


			if("+".equals(stOP)){
				Ans = A + B;
				System.out.println(Ans);
			}else if("-".equals(stOP)){
				Ans = A - B;
				System.out.println(Ans);
			}else if("*".equals(stOP)){
				Ans = A * B;
				System.out.println(Ans);
			}else if("/".equals(stOP)){
				Ans = A / B;
				System.out.println(Ans);
			}else if("?".equals(stOP)){
				break;
			}
		}
	}
}