#include <bits/stdc++.h>
using namespace std;
const long long int INF = (long long int)1e18;
int main() {
  int N;
  cin >> N;
  int cnt_2 = 0;
  int cnt_4 = 0;
  int cnt_other = 0;
  for (int i = (0); i < (N); ++i) {
    long long int a;
    cin >> a;
    if (a % 4 == 0) {
      cnt_2++;
    } else if (a % 2 == 0) {
      cnt_2++;
    } else {
      cnt_other++;
    }
  }
  if (cnt_2 == 0) {
    if (cnt_4 + 1 > cnt_other) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (cnt_4 > cnt_other) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
}
