#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int cnt0 = 0, cnt1 = 0, cnt2 = 0;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    int cnt = 0;
    while (a % 2 == 0) {
      a /= 2;
      cnt++;
    }
    if (cnt == 0) cnt0++;
    if (cnt == 1) cnt1++;
    if (cnt >= 2) cnt2++;
  }
  int now = cnt2 > 0 ? 1 : 0;
  while (cnt2 > 0 && now < N) {
    now += 2;
    cnt2--;
  }
  if (cnt1 > 1) {
    while (cnt1 > 0 && now < N) {
      now++;
      cnt1--;
    }
  }
  if (now >= N) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}
