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