#include <bits/stdc++.h>
using namespace std;
const int inf = 1 << 30;
const long long longinf = 1LL << 60;
int dx[4] = {1, 0, -1, 0}, dy[4] = {0, 1, 0, -1};
int main() {
  int n;
  cin >> n;
  int a[n];
  for (int i = 0; i < (int)(n); i++) cin >> a[i];
  int x, y, z;
  x = y = z = 0;
  for (int i = 0; i < (int)(n); i++) {
    if (a[i] % 4 == 0) x++;
    if (a[i] % 4 == 2) y++;
  }
  z = n - x - y;
  bool ans;
  if (y == 0)
    ans = (x >= z + 1);
  else
    ans = (x >= z);
  if (ans)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
