#include <bits/stdc++.h>
using namespace std;
int main() {
  int w, h;
  cin >> w >> h;
  int modw, modh;
  modw = w / 2;
  modh = h / 2;
  double W, H;
  W = modw * (w - modw);
  H = modh * (h - modh);
  cout << setprecision(15) << W * H << endl;
  return 0;
}
