#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n, cnt1 = 0, cnt2 = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    long long a;
    cin >> a;
    if (a % 4 == 0) cnt1++;
    if (a % 2 == 0) cnt2++;
  }
  if (cnt1 >= n / 2 || cnt2 == n)
    cout << "Yes" << endl;
  else if ((n % 2 == 0 && cnt1 + cnt2 / 2 >= n / 2) ||
           (n % 2 != 0 && cnt1 + cnt2 / 2 >= n / 2 + 1))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
