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