#include <bits/stdc++.h>
using namespace std;
#pragma comment(linker, "/STACK:1024000000,1024000000")
inline long long Scan() {
  long long x = 0, f = 1;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    x = x * 10 + ch - '0';
    ch = getchar();
  }
  return x * f;
}
int a[100005];
int main() {
  ios::sync_with_stdio(false);
  int n, ans = 0, b = 0, c = 0;
  cin >> n;
  for (int i = 1; i <= n; ++i) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      ans++;
    else if (a[i] % 2 == 1)
      b++;
    else
      c++;
  }
  if (ans + 1 == b && c == 1)
    cout << "No" << endl;
  else if (ans + 1 >= b)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
