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