#include <bits/stdc++.h>
using namespace std;
int main() {
  long long w, h, c = 0;
  cin >> w >> h;
  for (long long x = 2; x <= w; x += 2)
    for (long long y = 2; y <= h; y += 2) c += (w - x + 1) * (h - y + 1);
  cout << c << endl;
}
