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