#include <bits/stdc++.h>
using namespace std;
using Int = long long;
Int INF = 1LL << 60;
const Int MOD = 1000000007;
int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  Int N;
  cin >> N;
  Int x4 = 0;
  Int odd = 0;
  Int temp;
  for (Int i = 0; i < N; i++) {
    cin >> temp;
    if (temp % 2) {
      odd++;
      continue;
    }
    if (temp % 4 == 0) {
      x4++;
      continue;
    }
  }
  if (x4 == 0 && odd == 1) {
    cout << "No\n";
  } else {
    cout << ((x4 + 1 >= odd) ? "Yes\n" : "No\n");
  }
}
