#include <bits/stdc++.h>
using namespace std;
const int inf = 1e9;
int main() {
  int n;
  cin >> n;
  int mul[5];
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0)
      mul[4]++;
    else if (a % 2 == 0)
      mul[2]++;
    else
      mul[0]++;
  }
  if (mul[4] >= mul[0] || (mul[4] + 1 == mul[0] && mul[2] == 0)) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
