#include <bits/stdc++.h>
using namespace std;
signed main() {
  int n;
  cin >> n;
  int a, cnt4 = 0, cnt2 = 0;
  for (int i = 0; i < n; ++i) {
    cin >> a;
    if (a % 4 == 0)
      cnt4++;
    else if (a % 2 == 0)
      cnt2++;
  }
  if (cnt2 != 0) cnt2--;
  int need = n / 2 - cnt2;
  if (cnt4 >= need)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
