#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x, A[100010];
  int cnt_1 = 0, cnt_2 = 0, cnt_4 = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    scanf("%d", &x);
    if (x % 4 == 0) {
      A[i] = 4;
      cnt_4++;
    } else if (x % 2 == 0) {
      A[i] = 2;
      cnt_2++;
    } else {
      A[i] = 1;
      cnt_1++;
    }
  }
  sort(A, A + n);
  if ((cnt_2 == 0 && cnt_1 <= cnt_4 - 1) || cnt_2 >= 1 && cnt_1 <= cnt_4) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
