#include <bits/stdc++.h>
const int MOD = 1000000007;
using namespace std;
int main() {
  int n;
  cin >> n;
  int count = 0;
  int count1 = 0;
  vector<long long> a(n);
  for (int(i) = 0; (i) < (n); (i)++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      count += 3;
    } else if (a[i] % 2 == 0) {
      count1++;
    }
  }
  int num = count + count1 / 2;
  if (num >= n) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
