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