#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  int k = t;
  int d = 0;
  while (t--) {
    int tg;
    cin >> tg;
    if (tg % 4 == 0)
      d += 4;
    else if (tg % 2 == 0)
      d++;
  }
  if (d >= k * 2)
    cout << "Yes";
  else
    cout << "No";
}
