#include <bits/stdc++.h>
using namespace std;
int INF = 1e9;
int MOD = 1e9 + 7;
int cnt[3];
int main() {
  int N, A;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> A;
    if (A % 4 == 0)
      cnt[0]++;
    else if (A % 2 == 0)
      cnt[1]++;
    else
      cnt[2]++;
  }
  if (cnt[1]) {
    cnt[2]++;
    cnt[0] += cnt[1] - 1;
  }
  if (cnt[0] + 1 >= cnt[2]) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
