#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int N;
  cin >> N;
  int a[N];
  for (int i = 0; i < N; i++) cin >> a[i];
  int count4 = 0, count2 = 0;
  for (int i = 0; i < N; i++) {
    if (a[i] % 4 == 0)
      count4++;
    else if (a[i] % 2 == 0)
      count2++;
  }
  if (count4 >= int(N / 2))
    cout << "Yes" << endl;
  else {
    N -= 2 * count4 + 1;
    if (N == 1) {
      if (count2 >= 2)
        cout << "Yes" << endl;
      else
        cout << "No" << endl;
    } else if (count2 >= N)
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
  }
  return 0;
}
