#include <bits/stdc++.h>
using namespace std;
long long inf = 1000000007;
long long a[100005];
int main() {
  int n;
  cin >> n;
  int flag = 0;
  long long fourcount = 0;
  long long others = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] == 2) {
      flag = 1;
    } else if (a[i] % 4 == 0) {
      fourcount++;
    } else if (a[i] % 2 != 0) {
      others++;
    }
  }
  if (flag) {
    if (fourcount >= others) {
      cout << "Yes" << endl;
      return 0;
    }
  } else {
    if (fourcount >= n / 2) {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
  return 0;
}
