#include <bits/stdc++.h>
using namespace std;
template <class T>
T IN() {
  T d;
  cin >> d;
  return d;
}
long long gcd(long long a, long long b) { return (b > 0) ? gcd(b, a % b) : a; }
long long lcm(long long a, long long b) { return a / gcd(a, b) * b; }
bool uruu(long long Y) {
  return (((Y % 4 == 0 && Y % 100 != 0) || Y % 400 == 0) ? true : false);
}
int dx[4] = {0, 1, 0, -1};
int dy[4] = {1, 0, -1, 0};
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  ;
  bool dbgF = true;
  int N;
  int fourBaisuu = 0;
  int guusuuSum = 0;
  string ans = "No";
  cin >> N;
  vector<long long> a(N);
  for (int i = (0); i < (N); i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      fourBaisuu++;
    else if (a[i] % 2 == 0)
      guusuuSum++;
  }
  int temp = N / 2;
  if (fourBaisuu >= temp) {
    ans = "Yes";
  } else if (guusuuSum > 1 && fourBaisuu + guusuuSum - 1 >= temp) {
    ans = "Yes";
  }
  cout << ans << endl;
  return 0;
}
