#include <bits/stdc++.h>
using namespace std;
int b1, b2, b4;
int main() {
  int n;
  for (int i = 0; i < n; i++) {
    int b;
    cin >> b;
    if (b % 2 == 1) {
      b1++;
    }
    if (b % 2 == 0 && b % 4 != 0) {
      b2++;
    }
    if (b % 4 == 0) {
      b4++;
    }
  }
  if (b2 == 0) {
    if (b1 <= b4 + 1) {
      cout << "Yes";
    } else {
      cout << "No";
    }
  } else {
    if (b1 <= b4) {
      cout << "Yes";
    } else {
      cout << "No";
    }
  }
  return 0;
}
