#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using pii = pair<int, int>;
int main() {
  int n;
  cin >> n;
  ll cnt_4 = 0;
  ll cnt_2 = 0;
  for (int i = 0; i < (n); i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) cnt_4++;
    if (a % 2 == 0) cnt_2++;
  }
  cnt_2 -= cnt_4;
  cnt_4 *= 3;
  ll ans;
  if (cnt_2 < 2)
    ans = cnt_4;
  else
    ans = cnt_2 + cnt_4;
  if (ans >= n)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
