#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, cnt4 = 0, cnt2 = 0;
  cin >> n;
  int a[100005];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      cnt4++;
    }
    if (a[i] == 2) {
      cnt2++;
    }
  }
  long long cnt = cnt4 * 2 + cnt2 / 2;
  if (cnt >= n - 1) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
