#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int ns[1000000];
  for (int i = 0; i < n; i++) {
    cin >> ns[i];
  }
  int n2 = 0;
  int n4 = 0;
  for (int i = 0; i < n; i++) {
    if (ns[i] % 2 == 0) n2++;
    if (ns[i] % 4 == 0) n4++;
  }
  int n2num;
  if (n2 - n4 <= 1) {
    n2num = 0;
  } else {
    n2num = n2 - n4;
  }
  int n4num;
  if (n4 == 0) {
    n4num = 0;
  } else {
    n4num = n4 * 2 + 1;
  }
  if (n4num + n2num >= n) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
