#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
int main() {
  long long n;
  long long a[100002];
  cin >> n;
  long long four = 0, even = 0, odd = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      four++;
    else if (a[i] % 2 == 0)
      even++;
    else
      odd++;
  }
  int debug = 0;
  ;
  if (even == 1) {
    even--;
    odd++;
  }
  if (four + 1 >= odd) {
    cout << "Yes" << endl;
    ;
  } else
    cout << "No" << endl;
  ;
}
