#include <bits/stdc++.h>
using namespace std;
using pii = pair<int, int>;
using ll = long long;
using vi = vector<int>;
int main() {
  cin.tie(0), ios::sync_with_stdio(false);
  int N;
  ll a[100010];
  int four = 0;
  int t = 0;
  cin >> N;
  for (int i = 0; i < (N); ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      four += 2;
    } else if (a[i] % 2 == 0) {
      ++t;
    }
  }
  if (N <= four + t) {
    cout << ("Yes") << '\n';
  } else {
    cout << ("No") << '\n';
  }
}
