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