#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<long long> A(N);
  for (int i = 0; i < (int)(N); i++) {
    cin >> A[i];
  }
  int cnt1 = 0;
  int cnt2 = 0;
  int cnt4 = 0;
  for (int i = 0; i < (int)(N); i++) {
    if (A[i] % 4 == 0) {
      cnt4++;
    } else if (A[i] % 2 == 0) {
      cnt2++;
    } else {
      cnt1++;
    }
  }
  if (cnt2 >= 2) {
    N -= cnt2;
  }
  if (cnt4 >= (N / 2)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
