#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int t = 1;
  while (t--) {
    long long n, k, m;
    cin >> n >> m;
    bool flag = 0;
    if (n >= 2 && m >= 2)
      cout << (n * n / 4) * (m * m / 4);
    else
      cout << 0;
    cout << endl;
  }
}
