#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
int main() {
  ios_base::sync_with_stdio(false);
  int n;
  cin >> n;
  int cnt4 = 0, cnt2 = 0;
  for (int i = 0; i < n; ++i) {
    long long a;
    cin >> a;
    if (a % 4 == 0) {
      cnt4++;
    } else if (a % 2 == 0) {
      cnt2++;
    }
  }
  if (cnt4 >= n / 2) {
    cout << "Yes\n";
  } else if ((cnt2 + cnt4) >= (n / 2 + 1))
    cout << "Yes\n";
  else
    cout << "No\n";
  return 0;
}
