#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n;
  scanf("%d", &n);
  int a = 0;
  int b = 0;
  for (int i = 0; i < n; i++) {
    long long x;
    scanf("%lld", &x);
    if (x % 4 == 0) {
      b += 2 * (x % 4 == 0);
      continue;
    }
    a += (x % 2 == 0);
  }
  if (a / 2 + b >= n - 1)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
