#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int a[100010];
  for (int i = 0; i < n; i++) {
    cin >> a[i];
  }
  int cnt_1 = 0, cnt_2 = 0, cnt_4 = 0;
  for (int i = 0; i < n; i++) {
    if (a[i] % 2 != 0)
      cnt_1++;
    else if (a[i] % 4 != 0)
      cnt_2++;
  }
  cnt_4 = n - cnt_1 - cnt_2;
  if (cnt_2) {
    if (cnt_1 <= cnt_2)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  } else {
    if (cnt_1 <= cnt_4 + 1)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
