#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int four = 0;
  int two = 0;
  for (int i = 0; i < (int)(n); i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) {
      four++;
    } else if (a % 2 == 0) {
      two++;
    }
  }
  n -= four * 3;
  cout << ((two >= n && !(n == 1 && two == 1)) ? "Yes" : "No") << endl;
  return 0;
}
