#include <bits/stdc++.h>
using namespace std;
template <class T>
bool contain(const std::string &s, const T &v) {
  return s.find(v) != std::string::npos;
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long N, a, cnt = 0, cnt4 = 0, cnt2 = 0;
  cin >> N;
  for (int i = 0; i < N; i++) {
    cin >> a;
    if (a % 4 == 0) {
      cnt4++;
    } else if (a % 2 == 0) {
      cnt2++;
    } else {
      cnt++;
    }
  }
  if ((cnt4 + 1 == cnt && cnt2 == 0) || cnt4 == cnt) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}
