#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
const int INF = 2147483647;
int main() {
  int N;
  cin >> N;
  int a[N];
  for (int i = 0; i < (N); ++i) cin >> a[i];
  int odd, even, four;
  odd = even = four = 0;
  for (int i = 0; i < (N); ++i) {
    if (a[i] % 4 == 0)
      ++four;
    else if (a[i] % 2 == 0)
      ++even;
    else
      ++odd;
  }
  if (2 * four + 1 + even >= N) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
