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