#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  int a;
  int j1 = 0, j2 = 0, j4 = 0;
  for (int i = 0; i < N; i++) {
    cin >> a;
    if (a % 4 == 0) j4++;
    if (a % 4 == 2) j2++;
    if (a % 2 == 1) j1++;
  }
  if (j1 <= j4 || (j1 == j4 + 1 && j2 == 0)) {
    cout << "Yes" << endl;
    return 0;
  } else {
    cout << "No" << endl;
    return 0;
  }
}
