#include <bits/stdc++.h>
using namespace std;
long long int cal(long long int x) {
  if (x % 2 == false) return (x * x) / 4;
  return (x / 2) * (x / 2 + 1);
}
int main() {
  long long int w, h;
  cin >> w >> h;
  return cout << cal(w) * cal(h) << endl, 0;
}
