import java.util.Scanner;

class Main {

	public static void main(String[] args) {
		Scanner cin=new Scanner(System.in);
		while(true){
			String str=cin.nextLine();
			String data[]=str.split(" ");
			int a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;
			char op[]=data[1].toCharArray();
		
			if(op[0]=='?')break;
			if(op[0]=='+')res=a+b;
			if(op[0]=='*')res=a*b;
			if(op[0]=='-')res=a-b;
			if(op[0]=='/')res=a/b;
		
			System.out.println(res);
		}
	}

}
 import java.util.Scanner; Scanner java.util class Main {

	public static void main(String[] args) {
		Scanner cin=new Scanner(System.in);
		while(true){
			String str=cin.nextLine();
			String data[]=str.split(" ");
			int a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;
			char op[]=data[1].toCharArray();
		
			if(op[0]=='?')break;
			if(op[0]=='+')res=a+b;
			if(op[0]=='*')res=a*b;
			if(op[0]=='-')res=a-b;
			if(op[0]=='/')res=a/b;
		
			System.out.println(res);
		}
	}

} Main public static void main(String[] args) {
		Scanner cin=new Scanner(System.in);
		while(true){
			String str=cin.nextLine();
			String data[]=str.split(" ");
			int a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;
			char op[]=data[1].toCharArray();
		
			if(op[0]=='?')break;
			if(op[0]=='+')res=a+b;
			if(op[0]=='*')res=a*b;
			if(op[0]=='-')res=a-b;
			if(op[0]=='/')res=a/b;
		
			System.out.println(res);
		}
	} main {
		Scanner cin=new Scanner(System.in);
		while(true){
			String str=cin.nextLine();
			String data[]=str.split(" ");
			int a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;
			char op[]=data[1].toCharArray();
		
			if(op[0]=='?')break;
			if(op[0]=='+')res=a+b;
			if(op[0]=='*')res=a*b;
			if(op[0]=='-')res=a-b;
			if(op[0]=='/')res=a/b;
		
			System.out.println(res);
		}
	} Scanner cin=new Scanner(System.in); cin new Scanner(System.in) while(true){
			String str=cin.nextLine();
			String data[]=str.split(" ");
			int a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;
			char op[]=data[1].toCharArray();
		
			if(op[0]=='?')break;
			if(op[0]=='+')res=a+b;
			if(op[0]=='*')res=a*b;
			if(op[0]=='-')res=a-b;
			if(op[0]=='/')res=a/b;
		
			System.out.println(res);
		} true {
			String str=cin.nextLine();
			String data[]=str.split(" ");
			int a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;
			char op[]=data[1].toCharArray();
		
			if(op[0]=='?')break;
			if(op[0]=='+')res=a+b;
			if(op[0]=='*')res=a*b;
			if(op[0]=='-')res=a-b;
			if(op[0]=='/')res=a/b;
		
			System.out.println(res);
		} String str=cin.nextLine(); str cin.nextLine() cin.nextLine cin String data[]=str.split(" "); data str.split(" ") str.split str " " int a=Integer.parseInt(data[0]) a Integer.parseInt(data[0]) Integer.parseInt Integer data[0] data 0 b=Integer.parseInt(data[2]) b Integer.parseInt(data[2]) Integer.parseInt Integer data[2] data 2 res=0; res 0 char op[]=data[1].toCharArray(); op data[1].toCharArray() data[1].toCharArray data[1] data 1 if(op[0]=='?')break; op[0]=='?' op[0] op 0 '?' break; if(op[0]=='+')res=a+b; op[0]=='+' op[0] op 0 '+' res=a+b res a+b a b if(op[0]=='*')res=a*b; op[0]=='*' op[0] op 0 '*' res=a*b res a*b a b if(op[0]=='-')res=a-b; op[0]=='-' op[0] op 0 '-' res=a-b res a-b a b if(op[0]=='/')res=a/b; op[0]=='/' op[0] op 0 '/' res=a/b res a/b a b System.out.println(res) System.out.println System.out System System.out res String[] args args
import java.util.Scanner;

class Main {

	public static void main(String[] args) {
		Scanner cin=new Scanner(System.in);
		while(true){
			String str=cin.nextLine();
			String data[]=str.split(" ");
			int a=Integer.parseInt(data[0]),b=Integer.parseInt(data[2]),res=0;
			char op[]=data[1].toCharArray();
		
			if(op[0]=='?')break;
			if(op[0]=='+')res=a+b;
			if(op[0]=='*')res=a*b;
			if(op[0]=='-')res=a-b;
			if(op[0]=='/')res=a/b;
		
			System.out.println(res);
		}
	}

}

