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