#include <bits/stdc++.h>
using namespace std;
const long long MOD = 100000007;
const long long INF = 1000000000000000001;
int main() {
  int n;
  cin >> n;
  int b[3] = {0};
  for (int i = 0; i < (int)(n); i++) {
    int a;
    cin >> a;
    int cnt = 0;
    while (a % 2 == 0) {
      cnt++;
      a /= 2;
    }
    if (cnt == 0) b[0]++;
    if (cnt == 1) b[1]++;
    if (cnt >= 2) b[2]++;
  }
  if (b[1] == 0) {
    if (b[0] < b[2])
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
    return 0;
  }
  if (b[1] != 0) {
    if (b[0] + 1 < b[2])
      cout << "Yes" << endl;
    else
      cout << "No" << endl;
    return 0;
  }
}
