#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, cnt4 = 0, odd = 0, cnt2 = 0;
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a % 4 == 0)
      cnt4++;
    else {
      if (a % 2 == 0)
        cnt2++;
      else
        odd++;
    }
  }
  if (cnt4 >= odd)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
