#include <bits/stdc++.h>
using namespace std;
const long long INF = 1 << 30;
const long long MOD = 1000000007;
long long gcd(long long a, long long b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
long long kaijo(long long n) {
  long long ans = 1;
  for (long long i = 1; i <= n; ++i) {
    (ans *= i) %= MOD;
  }
  return ans;
}
int main() {
  long long n;
  cin >> n;
  long long by4 = 0, by2 = 0;
  for (int i = 0; i < n; ++i) {
    long long a;
    cin >> a;
    if (a % 4 == 0) by4++;
    if (a % 4 == 2) by2++;
  }
  if (by4 >= (n - 2) || by4 >= n)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
