#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7;
void solve() {
  int n;
  cin >> n;
  int cnt0 = 0, cnt1 = 0, cnt2 = 0;
  for (int i = 0; i < n; ++i) {
    int x;
    cin >> x;
    if (x % 4 == 0)
      cnt2++;
    else if (x % 2 == 0)
      cnt1++;
    else
      cnt0++;
  }
  if (cnt2 >= cnt0)
    cout << "Yes";
  else
    cout << "No";
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  ;
  int t = 1;
  for (int i = 1; i <= t; ++i) {
    solve();
  }
}
