#include <bits/stdc++.h>
using namespace std;
const int maxn = 500005;
int a[maxn];
int n, sum1, sum2;
int main() {
  cin >> n;
  for (int i = 1; i <= n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      sum1++;
    else if (a[i] % 4 == 2)
      sum2++;
  }
  if (sum2 > 1) {
    int ans = sum1 * 3 + sum2;
    if (ans >= n)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    int ans = sum1 * 3;
    if (ans >= n)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
