#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b;
  cin >> a >> b;
  long long int c, d;
  if (a % 2 == 0)
    c = a * a / 4;
  else
    c = (a * a - 1) / 4;
  if (b % 2 == 0)
    d = b * b / 4;
  else
    d = (b * b - 1) / 4;
  c = c * d;
  cout << c;
}
