#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long a[100010];
  long long cnt = 0;
  long long ct = 0;
  long long c = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      cnt++;
    else if (a[i] % 2 == 0)
      ct++;
    else
      c++;
  }
  if (cnt < c) {
    cout << "No" << endl;
  } else {
    cout << "Yes" << endl;
  }
}
