#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 7;
int flag[maxn];
int a[maxn];
int n;
int main() {
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      flag[2]++;
    } else if (a[i] % 2 == 0) {
      flag[1]++;
    } else {
      flag[0]++;
    }
  }
  if (flag[1]) flag[0]++;
  if (flag[0] - 1 > flag[2]) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
}
