#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
  int n;
  cin >> n;
  vector<int> vc(3);
  for (int i = 0; i < (n); ++i) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      vc[2]++;
    else if (a % 2 == 0)
      vc[1]++;
    else
      vc[0]++;
  }
  if (vc[1] == 0 && vc[0] == 2 && vc[2] == 1)
    cout << "Yes";
  else {
    if (vc[2] >= vc[0])
      cout << "Yes";
    else
      cout << "No";
  }
}
