#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  string ans = "No";
  cin >> n;
  long long a[n], res2 = 0, res4 = 0;
  for (int i = 0; i < n; ++i) {
    cin >> a[i];
    if (a[i] % 2 == 0) {
      if (a[i] % 4 == 0) {
        res4++;
      } else
        res2++;
    }
  }
  long long res0 = n - res2 - res4;
  if (res0 <= res4 + 1)
    if (res2 != 1) ans = "Yes";
  if (res0 <= res4) ans = "Yes";
  cout << ans << endl;
}
