#include <bits/stdc++.h>
using namespace std;
int a[10050];
int main() {
  int n, b2, b4, b24, b, flag = 0;
  b2 = b4 = b24 = b = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      b4++;
    } else {
      if (a[i] % 2 == 0) {
        b2++;
        flag = 1;
      } else
        b++;
    }
  }
  if (b4 >= b + b2 - 1)
    cout << "Yes" << endl;
  else {
    if (flag && b4 >= b)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
