#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int a[100000];
  int b;
  int cou = 0;
  int coun = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> b;
    if (b % 4 == 0) {
      a[i] = 2;
      cou++;
    } else if (b % 2 == 0) {
      a[i] = 1;
      coun++;
    }
  }
  if (cou * 2 + coun >= N) {
    cout << "Yes";
  } else {
    cout << "No";
  }
}
