#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  int64_t w, h;
  cin >> w >> h;
  int64_t ans1 = 0, ans2 = 0;
  for (int64_t i = 2; i <= w; i += 2) ans1 += (w - i + 1);
  for (int64_t i = 2; i <= h; i += 2) ans2 += (h - i + 1);
  cout << ans1 * ans2 << "\n";
  return 0;
}
