#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  cin >> n;
  long long a[n];
  long long i;
  long long f4, even, odd;
  f4 = even = odd = 0;
  for (i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      f4++;
    } else if (a[i] & 1) {
      odd++;
    } else {
      even++;
    }
  }
  if (even == 1) {
    odd++;
  }
  if (f4 and odd <= f4 + 1) {
    cout << "Yes\n";
  } else {
    cout << "No\n";
  }
}
