import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			while(true){
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			}

			reader.close();
		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	}

} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			while(true){
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			}

			reader.close();
		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	}

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

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			while(true){
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			}

			reader.close();
		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	} main {

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			while(true){
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			}

			reader.close();
		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	} BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) try{

			while(true){
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			}

			reader.close();
		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		} catch(IOException e){
			System.out.println("??¨??????:"+e);

		} IOException e {
			System.out.println("??¨??????:"+e);

		} System.out.println("??¨??????:"+e) System.out.println System.out System System.out "??¨??????:"+e "??¨??????:" e {

			while(true){
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			}

			reader.close();
		} while(true){
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			} true {
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			} String str=reader.readLine(); str reader.readLine() reader.readLine reader String[] str_Array=str.split(" "); str_Array str.split(" ") str.split str " " int a=Integer.parseInt(str_Array[0]); a Integer.parseInt(str_Array[0]) Integer.parseInt Integer str_Array[0] str_Array 0 int b=Integer.parseInt(str_Array[2]); b Integer.parseInt(str_Array[2]) Integer.parseInt Integer str_Array[2] str_Array 2 String c=str_Array[1]; c str_Array[1] str_Array 1 if("?".equals(c))break; "?".equals(c) "?".equals "?" c break; if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
} "+".equals(c) "+".equals "+" c {
				System.out.println(a+b);
			} System.out.println(a+b) System.out.println System.out System System.out a+b a b if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
} "-".equals(c) "-".equals "-" c {
				System.out.println(a-b);
			} System.out.println(a-b) System.out.println System.out System System.out a-b a b if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
} "/".equals(c) "/".equals "/" c {
				System.out.println(a/b);
			} System.out.println(a/b) System.out.println System.out System System.out a/b a b if("*".equals(c)){System.out.println(a*b);
} "*".equals(c) "*".equals "*" c {System.out.println(a*b);
} System.out.println(a*b) System.out.println System.out System System.out a*b a b reader.close() reader.close reader String[] args args public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			while(true){
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			}

			reader.close();
		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	}

} public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			while(true){
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			}

			reader.close();
		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	}

} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main{


	public static void main(String[] args){

		BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));

		try{

			while(true){
			String str=reader.readLine();

			String[] str_Array=str.split(" ");
			int a=Integer.parseInt(str_Array[0]);
			int b=Integer.parseInt(str_Array[2]);
			String c=str_Array[1];

			if("?".equals(c))break;
			if("+".equals(c)){
				System.out.println(a+b);
			}else if("-".equals(c)){
				System.out.println(a-b);
			}else if("/".equals(c)){
				System.out.println(a/b);
			}else if("*".equals(c)){System.out.println(a*b);
}
			}

			reader.close();
		}catch(IOException e){
			System.out.println("??¨??????:"+e);

		}

	}

}