#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
  int n;
  cin >> n;
  vector<int> a(n);
  int x4 = 0, x2 = 0;
  for (int i = 0; i < (n); i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      x4++;
    }
    if (a[i] % 2 == 0) {
      x2++;
    }
  }
  if (n % 2 != 0 && x4 + (x2 / 3) >= n / 2)
    puts("Yes");
  else if (n % 2 != 0 && x2 == n)
    puts("Yes");
  else if (n % 2 == 0 && x4 + x2 / 2 >= n / 2)
    puts("Yes");
  else
    puts("No");
  return 0;
}
