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