#include <bits/stdc++.h>
using namespace std;
int n;
int a[100100];
vector<int> fours;
vector<int> twos;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      fours.push_back(a[i]);
    } else if (a[i] % 2 == 0) {
      twos.push_back(a[i]);
    }
  }
  int a1 = fours.size() * 3;
  if (a1 != 0) a1--;
  int a2 = twos.size();
  if (fours.size() * 3 >= n) {
    cout << "Yes" << endl;
    return 0;
  } else if (a1 + a2 >= n) {
    cout << min((int)fours.size() * 3 - 1, 0) + twos.size() << endl;
    cout << "Yes" << endl;
    return 0;
  } else {
    cout << "No" << endl;
    return 0;
  }
  return 0;
}
