#include <bits/stdc++.h>
using namespace std;
signed main() {
  long long n;
  cin >> n;
  vector<long long> a(n);
  for (signed i = 0; i < n; ++i) cin >> a[i];
  sort(a.begin(), a.end());
  ;
  long long eve = 0, even = 0;
  for (signed i = 0; i < n; ++i) {
    if (a[i] % 4 == 0 && a[i] != 0)
      eve++;
    else if (a[i] % 2 == 0 && a[i] != 0)
      even++;
  }
  long long res = n - (even / 2);
  bool ans = (res - eve * 3 <= 0);
  cout << (ans ? "Yes" : "No") << endl;
  return 0;
}
