#include <bits/stdc++.h>
using namespace std;
int n, f1, f2, f3;
void solve() {
  int x;
  cin >> n;
  for (int i = 1; i <= n; i++) {
    scanf("%d", &x);
    if (x % 4 == 0)
      f1++;
    else if (x % 2 == 0)
      f2++;
    else
      f3++;
  }
  if (!f2 && f3 == f1 + 1)
    cout << "Yes"
         << "\n";
  else if (f1 >= f3)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
int main() {
  solve();
  return 0;
}
