#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<long long> a(n);
  for (long long i = 0; i < (n); i++) cin >> a[i];
  int cnt4 = 0;
  int cnt2 = 0;
  for (long long i = 0; i < (n); i++) {
    if (a[i] % 4 == 0) {
      cnt4++;
    } else if (a[i] % 2 == 0) {
      cnt2++;
    }
  }
  n -= (cnt2 % 2 == 0 ? cnt2 : cnt2 - 1);
  n -= cnt4;
  puts(n <= 0 ? "Yes" : "No");
  return 0;
}
