#include <bits/stdc++.h>
using namespace std;
int N;
int main() {
  while (cin >> N) {
    int odd = 0, even = 0, e4 = 0;
    for (int i = 0; i < N; i++) {
      int a;
      cin >> a;
      if (a % 4 == 0)
        e4++;
      else if (a % 2 == 0)
        even++;
      else
        odd++;
      ;
    }
    if (e4 >= odd)
      cout << "Yes" << endl;
    else if (e4 == odd - 1 && (even != 1))
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
}
