#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int point = 0;
  for (int i = 0; i < (int)(n); i++) {
    int a;
    cin >> a;
    int s;
    if (a % 4 == 0)
      s = 6;
    else if (a % 2 == 0)
      s = 1;
    else
      s = 0;
    point += s;
  }
  cout << ((point / 2 >= n) ? "Yes" : "No") << endl;
  return 0;
}
