#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
const long long int INF = 200000000000;
struct edge {
  int to, cost;
};
int N;
int A[100010];
int X, Y, Z;
int ans = 0;
int main() {
  ios_base::sync_with_stdio(false);
  cin >> N;
  for (int i = 0; i < signed(N); i++) {
    cin >> A[i];
    if (A[i] % 4 == 0)
      X++;
    else if (A[i] % 2 == 0)
      Y++;
    else
      Z++;
  }
  {} {} {} {}
  if (X != 0) Z -= X + 1;
  if (Y != 0) Z -= Y - 1;
  {}
  if (Z <= 0)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
