#include <bits/stdc++.h>
using namespace std;
long long x, y;
int main() {
  scanf("%I64d%I64d", &x, &y);
  long long suma = 0;
  for (long long i = 2; i <= x; i += 2) suma += (x - i + 1);
  long long sumb = 0;
  for (long long i = 2; i <= y; i += 2) sumb += (y - i + 1);
  printf("%I64d\n", suma * sumb);
  return 0;
}
