#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, count4 = 0, count2 = 0;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a;
    if (a % 4 == 0) {
      count4++;
    } else if (a == 2) {
      count2++;
    }
  }
  if (count2 == 0) {
    if (count4 >= n / 2) {
      cout << "Yes"
           << "\n";
    } else {
      cout << "No"
           << "\n";
    }
  } else {
    if (count4 >= (n - count2 + 1) / 2) {
      cout << "Yes"
           << "\n";
    } else {
      cout << "No"
           << "\n";
    }
  }
}
