#include <bits/stdc++.h>
using namespace std;
int main(void) {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n;
  cin >> n;
  long long int a[n];
  int count4 = 0;
  int count2 = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 2 == 0) {
      count2++;
      if (a[i] % 4 == 0) {
        count4++;
      }
    }
  }
  string ans = "No";
  if (count4 >= (n - count2) / 2 || count2 == n) {
    ans = "Yes";
  }
  cout << ans << endl;
  return 0;
}
