#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int N;
  cin >> N;
  int by4 = 0;
  int by2 = 0;
  int oth = 0;
  for (int i = 0; i < (N); i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      by4++;
    else if (a % 2 == 0)
      by2++;
    else
      oth++;
  }
  if (by2 != 0) {
    oth++;
    if (oth * 2 <= N) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (oth * 2 <= (N + 1)) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  by2 = 1;
  oth += by2;
  return 0;
}
