#include <bits/stdc++.h>
using namespace std;
struct cww {
  cww() {
    ios::sync_with_stdio(false);
    cin.tie(0);
  }
} star;
const long long INF = numeric_limits<long long>::max();
int main() {
  int N, count4 = 0, count2 = 0, count1 = 0;
  cin >> N;
  vector<int> a(N);
  for (int i = 0; i < (N); i++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      count4++;
    else if (a[i] % 2 == 0) {
      count2++;
    } else {
      count1++;
    }
  }
  string ans;
  int num = N;
  if (count2 % 2 == 0) {
    num -= count2 + 2 * min(count1, count4);
  } else {
    if (count4 > count1) {
      num -= (count2 / 2) * 2 + 2 * min(count1, count4) + 1;
    } else {
      num -= (count2 / 2) * 2 + 2 * min(count1, count4);
    }
  }
  if (num <= 0)
    ans = "Yes";
  else {
    ans = "No";
  }
  cout << ans;
  return 0;
}
