#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  long long n;
  cin >> n;
  long long arr[n];
  long long x = 0;
  long long count2 = 0;
  for (long long i = 0; i < n; i++) {
    cin >> arr[i];
    if (arr[i] % 4 == 0) x++;
    if (arr[i] % 2 == 0 && arr[i] % 4 != 0) count2++;
  }
  if (count2 <= 1) {
    long long k;
    k = n / 2;
    if (x >= k)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    n -= count2;
    long long k;
    k = n / 2;
    if (x >= k)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
