#include <bits/stdc++.h>
using namespace std;
using LL = long long;
int main() {
  int n;
  cin >> n;
  int odd_cnt = 0;
  int four_cnt = 0;
  int two_cnt = 0;
  vector<int> a(n);
  for (int i = 0; i < n; i++) cin >> a[i];
  for (int i = 0; i < n; i++) {
    if (a[i] % 2 == 1) {
      odd_cnt++;
      continue;
    }
    if (a[i] % 4 == 0) {
      four_cnt++;
      continue;
    }
    two_cnt++;
  }
  four_cnt -= max(0, (odd_cnt - 1));
  if (two_cnt) four_cnt--;
  if (four_cnt >= 0)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
