#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  vector<long long> a(n);
  long long x, y, z;
  x = y = z = 0;
  for (int i = 0; i < n; i++) {
    cin >> a[i];
    long long cnt = 0;
    while (a[i] % 2 == 0) {
      a[i] /= 2;
      cnt++;
    }
    if (cnt == 0)
      x++;
    else if (cnt == 1)
      z++;
    else if (cnt > 1)
      y++;
  }
  if (z == 1) x += z;
  x <= y ? cout << ("Yes") << endl : cout << ("No") << endl;
  return 0;
}
