#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++;
  }
  if (cnt1 == 0) {
    if (cnt2 >= cnt0 + 1) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  } else {
    if (cnt2 >= cnt0) {
      cout << "Yes" << endl;
    } else {
      cout << "No" << endl;
    }
  }
  return 0;
}
