#include <bits/stdc++.h>
using namespace std;
constexpr long long int INFLL = 1001001001001001LL;
constexpr int INFI = 1000000007;
int main() {
  int N;
  cin >> N;
  vector<int> a(N);
  int N_0 = 0, N_2 = 0, N_4 = 0;
  for (int i = 0; i < N; i++) {
    cin >> a[i];
    if (a[i] % 4 == 0) {
      N_4++;
    } else if (a[i] % 2 == 0) {
      N_2++;
    } else {
      N_0++;
    }
  }
  if (N_4 >= N_2 + N_0 - 1) {
    cout << "Yes" << endl;
    return 0;
  }
  if (N_0 <= 2) {
    if (N == 3 && N_4 >= 1) {
      cout << "Yes" << endl;
      return 0;
    }
    if (N_4 >= 2) {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
  return 0;
}
