#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<int> a(n);
  for (int i = 0; i < (n); i++) {
    cin >> a[i];
  }
  int four_num = 0;
  int two_num = 0;
  for (auto x : a) {
    if (x % 4 == 0) four_num++;
    if (x == 2) two_num++;
  }
  if ((four_num + 1) >= (n - four_num - two_num)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
