#include <bits/stdc++.h>
int main() {
  double x, y;
  int xx, yy;
  scanf("%lf %lf", &x, &y);
  xx = x;
  yy = y;
  if (xx % 2 == 0) {
    x = x * x / 4;
  } else {
    x = (x * x - 1) / 4;
  }
  if (yy % 2 == 0) {
    y = y * y / 4;
  } else {
    y = (y * y - 1) / 4;
  }
  printf("%.0lf\n", x * y);
  return 0;
}
