#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
long long unsigned int n;
long long unsigned int a[100001];
void input() {
  cin >> n;
  for (int i = 0; i < n; i++) cin >> a[i];
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  input();
  vector<int> odd, b2, b4;
  for (int i = 0; i < n; i++) {
    if (a[i] % 4 == 0)
      b4.push_back(a[i]);
    else if (a[i] % 2 == 1)
      odd.push_back(a[i]);
    else
      b2.push_back(a[i]);
  }
  if (b2.empty() && odd.size() - b4.size() <= 1) {
    cout << "Yes" << endl;
    return 0;
  } else if (!b2.empty() && odd.size() - b4.size() <= 0) {
    cout << "Yes" << endl;
    return 0;
  }
  cout << "No" << endl;
  return 0;
}
