#include <bits/stdc++.h>
using namespace std;
int sage(int n) {
  if (n % 2 == 1) {
    return n / 2 + 1;
  } else {
    return n / 2;
  }
}
int main() {
  int n;
  cin >> n;
  long long int a[n];
  int count2 = 0, count4 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      count4++;
    } else if (a[i] % 2 == 0) {
      count2++;
    }
  }
  if (count2 > 1 && sage(n - count2 - count4) <= count4) {
    cout << "Yes" << endl;
  } else if (count2 == 1 && sage(n - count4) <= count4) {
    cout << "Yes" << endl;
  } else if (count2 == 0 && sage(n - count4) <= count4) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
