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