#include <bits/stdc++.h>
using namespace std;
using LL = int64_t;
const int INF = 0x3fffffff;
const double EPS = 1e-9;
const double PI = 2 * asin(1);
const int MX = 4000 + 10;
LL g_xn, g_yn;
void pretreat() {}
bool input() {
  cin >> g_xn >> g_yn;
  if (cin.eof()) return false;
  return true;
}
void solve() {
  LL ans = (g_xn + g_xn % 2) * (g_yn + g_yn % 2) * (g_xn / 2) * (g_yn / 2) / 4;
  cout << ans << endl;
}
int main() {
  pretreat();
  while (input()) {
    solve();
  }
  return 0;
}
