#include <bits/stdc++.h>
using namespace std;
long long min(long long a, long long b) {
  if (a > b) {
    return b;
  } else {
    return a;
  }
}
long long max(long long a, long long b) {
  if (a > b) {
    return a;
  } else {
    return b;
  }
}
long long power(long long a, long long b) {
  long long ans = 1;
  for (long long i = 1; i <= b; i++) {
    ans *= a;
  }
  return ans;
}
long long gcd(long long m, long long n) {
  if (n == 0) {
    return m;
  }
  return gcd(n, m % n);
}
long long lcm(long long a, long long b) {
  long long g = gcd(a, b);
  return a / gcd(a, b) * b;
}
int main() {
  long long N;
  cin >> N;
  vector<long long> a(N);
  for (long long i = 0; i < (long long)(N); i++) {
    cin >> a[i];
  }
  long long sum4 = 0;
  long long sum1 = 0;
  for (long long i = 0; i < (long long)(N); i++) {
    if (a[i] % 4 == 0) {
      sum4++;
    } else if (a[i] % 2 == 1) {
      sum1++;
    }
  }
  if (sum1 == 0) {
    cout << "Yes" << endl;
  } else {
    if (sum1 == sum4) {
      cout << "Yes" << endl;
    } else if (sum1 = sum4 + 1) {
      cout << "No" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
