#include <bits/stdc++.h>
using namespace std;

int main() {
  int N;
  cin >> N;
  int a, n2 = 0, n1 = 0, n0 = 0;
  for (int i = 0; i < N; i++) {
    cin >> a;
    if (a % 4 == 0) n2++;
    else if (a % 2 == 0) n1++;
    else n0++;
  }
  if (n1 == 0) n0--;
  cout << (n0 <= n2 ? "Yes" : "No") << endl;
}