#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int a[100001];
  cin >> N;
  int count4 = 0;
  int count0 = 0;
  bool as1 = true;
  bool as2 = true;
  for (int i = 0; i < N; ++i) {
    cin >> a[i];
    if (a[i] % 2 != 0) as1 = false;
  }
  if (as1) {
    cout << "Yes" << endl;
    return 0;
  } else {
    for (int i = 0; i < N; ++i) {
      if (a[i] % 4 == 0)
        count4++;
      else if (a[i] % 2 != 0)
        count0++;
    }
  }
  if (N % 2 == 0) {
    if (count0 > count4) as2 = false;
  } else {
    if (count0 > N / 2) as2 = false;
  }
  if (as2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
