#include <bits/stdc++.h>
using namespace std;
using P = pair<int, int>;
const int MOD = 1000000007;
int main() {
  int n, zero = 0, two = 0, four = 0;
  cin >> n;
  for (int i = 0; i < (n); ++i) {
    int temp;
    cin >> temp;
    if (temp % 4 == 0)
      four++;
    else if (temp % 2 == 0)
      two++;
    else
      zero++;
  }
  if (zero <= four)
    cout << "Yes" << endl;
  else if (zero == four && two == 0)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
