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