#include <bits/stdc++.h>
using namespace std;
int a[100005];
int main() {
  int n, mod4 = 0, others = 0;
  cin >> n;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
  }
  for (int i = 0; i < n; ++i) {
    if (a[i] % 4 == 0) {
      ++mod4;
    } else if (a[i] % 2 == 0) {
      continue;
    } else
      ++others;
  }
  if (mod4 >= others) {
    cout << "Yes\n";
  } else
    cout << "No\n";
  return 0;
}
