#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int n1, n2, n4;
  for (int i = 0; i < N; i++) {
    int t;
    cin >> t;
    if (t % 4 == 0) {
      n4++;
    } else if (t % 2 == 0) {
      n2++;
    } else {
      n1++;
    }
  }
  if (n1 == n4) {
    cout << "Yes";
  } else if (n1 - n4 == 1 && n2 == 0) {
    cout << "Yes";
  } else if (n4 > n1) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return 0;
}
