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