package test;
import java.math.BigDecimal;
import java.util.Scanner;
public class pratice {
private static Scanner in;
public static void main(String[] args) {
in = new Scanner(System.in);
String a3;
String a4;
String symbol;
while (in.hasNext()) {
a3 = in.next();
symbol = in.next();
a4 = in.next();
BigDecimal B1 = new BigDecimal(a3);
BigDecimal B2 = new BigDecimal(a4);
if (symbol.equals("+")) {
System.out.println(B1.add(B2));
} else if (symbol.equals("-")) {
System.out.println(B1.subtract(B2));
} else if (symbol.equals("*")) {
System.out.println(B1.multiply(B2));
} else if (symbol.equals("/")) {
System.out.println(B1.divide(B2));
}
}
}
}