#include <bits/stdc++.h>
using namespace std;
const int inf = 1 << 30;
const long long linf = 1LL << 62;
const int mod = 1e9 + 7;
const int MAX = 510000;
int main() {
  long long n;
  cin >> n;
  vector<long long> v(3, 0);
  for (long long i = 0; i < (n); i++) {
    long long a;
    cin >> a;
    if (a % 4 == 0)
      v[2]++;
    else if (a % 2 == 0)
      v[1]++;
    else
      v[0]++;
  }
  if (v[1] >= 1) v[0]++;
  if (v[2] == 0) {
    if (v[0] == 0)
      puts("Yes");
    else
      puts("No");
  } else if (v[0] - v[2] <= 1)
    puts("Yes");
  else
    puts("No");
}
