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