#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x, y, z;
  cin >> n;
  vector<long int> a(n);
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) x++;
    if (a[i] % 4 == 2) y++;
    if (a[i] % 2 == 1) z++;
  }
  if (z - 1 > x || (z - 1 == x && y > 0))
    cout << "No" << endl;
  else
    cout << "Yes" << endl;
}
