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