#include <bits/stdc++.h>
using namespace std;
const long long INF = LONG_LONG_MAX;
const long long MINF = -10e10;
const int mod = 1000000007;
int main() {
  int n;
  cin >> n;
  int b4 = 0;
  int b2 = 0;
  int k = 0;
  for (long long i = 0; i < (n); ++i) {
    long long a;
    cin >> a;
    if (a % 4 == 0) {
      b4++;
    } else if (a % 2 == 0) {
      b2++;
    } else {
      k++;
    }
  }
  int b4_r = b4 * 2;
  if (b4_r < k) {
    cout << "No" << endl;
    return 0;
  }
  b4_r -= k;
  if (b2 == 1 && b4_r == 0) {
    cout << "No" << endl;
    return 0;
  }
  cout << "Yes" << endl;
}
