#include <bits/stdc++.h>
using namespace std;
long long ans, mx, mn = 1e8, sum, cnt;
int main() {
  long long n;
  cin >> n;
  long long a[n];
  long long m = 0, odd = 0, even = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  for (int i = 0; i < n; i++) {
    if (a[i] % 4 == 0)
      m++;
    else if (a[i] % 2 != 0)
      odd++;
    else
      even++;
  }
  if (m == odd && even > 1)
    cout << "Yes";
  else if (m + 1 == odd && even == 0)
    cout << "Yes";
  else if (n == 1 && a[0] % 4 == 0)
    cout << "Yes";
  else if (m == odd && n == 3 && even == 1)
    cout << "Yes";
  else if (odd <= (even + m))
    cout << "Yes";
  else
    cout << "No";
}
