#include <bits/stdc++.h>
using namespace std;
int main() {
  long long w, h, r, d, ans, i, j, n;
  cin >> w >> h;
  ans = 0;
  for (i = 2; i <= w; i += 2) {
    for (j = 2; j <= h; j += 2) {
      ans += ((h - j + 1) * (w - i + 1));
    }
  }
  cout << ans << endl;
}
