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