#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int count2 = 0;
  int count4 = 0;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) {
      count4++;
    } else if (a % 2 == 0) {
      count2++;
    }
  }
  if (count4 * 3 + max(count2 - 1, 0) >= N) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  return 0;
}
