#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++;
    }
  }
  int not_num = n - four_num - two_num;
  if (two_num > 0) {
    if (four_num >= not_num) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (four_num + 1 >= not_num) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
