#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n, a, x = 0, y = 0;
  cin >> n;
  for (long long i = 0; i < n; i++) {
    cin >> a;
    if (a % 4 == 0)
      x++;
    else if (a % 2 == 0)
      y++;
  }
  if (x * 2 + 1 + y >= n)
    puts("Yes");
  else
    puts("No");
  return 0;
}
