#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vin = vector<int>;
using P = pair<int, int>;
const int inf = 1e9 + 7;
const ll INF = 1e18;
int main() {
  int n;
  cin >> n;
  vin a(n);
  for (int i = 0; i < (n); i++) {
    cin >> a[i];
  }
  bool ans = true;
  int yon = 0, ni = 0, kisu = 0;
  for (int i = 0; i < (n); i++) {
    if (a[i] % 4 == 0)
      yon++;
    else if (a[i] % 2 == 0)
      ni++;
    else
      kisu++;
  }
  n -= yon * 3;
  cout << ni;
  if (ni >= 2)
    if (n <= 0)
      ans = true;
    else
      ans = false;
  if (ans)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
