#include <bits/stdc++.h>
using namespace std;
int main() {}
class C {
 public:
  int N, a, factor4 = 0, factor2 = 0, factor1 = 0;
  ~C() {
    cin >> N;
    while (N--) {
      cin >> a;
      if (a % 2 == 0) {
        if (a % 4 == 0)
          ++factor4;
        else
          ++factor2;
      } else {
        ++factor1;
      }
    }
    if (factor2 == 0) {
      if (factor1 <= 2 * factor4)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
    } else {
      if (factor1 <= 2 * factor4 - 1)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
    }
  }
} x;
