#include <bits/stdc++.h>
using namespace std;
const int maxn = 505;
char tmp[maxn];
int dp[maxn][maxn];
int max(int a, int b) {
  if (a < b) return b;
  return a;
}
int main() {
  int n;
  cin >> n;
  int num_4 = 0;
  int num_2 = 0;
  while (n--) {
    long long m;
    cin >> m;
    if (m % 4 == 0)
      num_4++;
    else if (m % 2 == 0) {
      num_2++;
    }
  }
  int sum = 0;
  sum = num_4 * 2 + 1;
  sum += num_2;
  if (sum > n)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
