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

public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String str = "";
		try {
			while ((str = in.readLine()) != null) {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			}
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} 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 in = new BufferedReader(new InputStreamReader(System.in));
    
		String str = "";
		try {
			while ((str = in.readLine()) != null) {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			}
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} Main public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String str = "";
		try {
			while ((str = in.readLine()) != null) {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			}
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	} main {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String str = "";
		try {
			while ((str = in.readLine()) != null) {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			}
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String str = ""; str "" try {
			while ((str = in.readLine()) != null) {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			}
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} NumberFormatException e {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} IOException e {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} e.printStackTrace() e.printStackTrace e {
			while ((str = in.readLine()) != null) {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			}
		} while ((str = in.readLine()) != null) {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			} (str = in.readLine()) != null (str = in.readLine()) str in.readLine() in.readLine in null {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			} String[] p = str.split(" "); p str.split(" ") str.split str " " int a = Integer.parseInt(p[0]); a Integer.parseInt(p[0]) Integer.parseInt Integer p[0] p 0 int b = Integer.parseInt(p[2]); b Integer.parseInt(p[2]) Integer.parseInt Integer p[2] p 2 if (p[1].equals("+")) System.out.println(a + b); p[1].equals("+") p[1].equals p[1] p 1 "+" System.out.println(a + b) System.out.println System.out System System.out a + b a b if (p[1].equals("-")) System.out.println(a - b); p[1].equals("-") p[1].equals p[1] p 1 "-" System.out.println(a - b) System.out.println System.out System System.out a - b a b if (p[1].equals("*")) System.out.println(a * b); p[1].equals("*") p[1].equals p[1] p 1 "*" System.out.println(a * b) System.out.println System.out System System.out a * b a b if (p[1].equals("/")) System.out.println(a / b); p[1].equals("/") p[1].equals p[1] p 1 "/" System.out.println(a / b) System.out.println System.out System System.out a / b a b if (p[1].equals("?")) break; p[1].equals("?") p[1].equals p[1] p 1 "?" break; String[] args args public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String str = "";
		try {
			while ((str = in.readLine()) != null) {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			}
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String str = "";
		try {
			while ((str = in.readLine()) != null) {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			}
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	public static void main(String[] args) {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    
		String str = "";
		try {
			while ((str = in.readLine()) != null) {
				String[] p = str.split(" ");
				int a = Integer.parseInt(p[0]);
				int b = Integer.parseInt(p[2]);
				
				if (p[1].equals("+")) System.out.println(a + b);
				if (p[1].equals("-")) System.out.println(a - b);
				if (p[1].equals("*")) System.out.println(a * b);
				if (p[1].equals("/")) System.out.println(a / b);
				
				if (p[1].equals("?")) break;
			}
		} catch (NumberFormatException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}