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