#include <bits/stdc++.h>
using namespace std;
unsigned long long sol = 0LL;
inline unsigned long long min1(unsigned long long a, unsigned long long b) {
  if (a < b) return a;
  return b;
}
int w, h;
int main() {
  scanf("%d%d", &w, &h);
  for (int i = 1; i <= h; i++) {
    for (int j = 1; j <= w; j++) {
      sol += (i / 2) * (j / 2);
    }
  }
  printf("%I64u\n", sol);
  return 0;
}
