#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n;
  bool is_even;
  cin >> n;
  vector<long long> a(n);
  for (int i = 0; i < n; i++) cin >> a[i];
  if (n % 2 == 0)
    is_even = true;
  else
    is_even = false;
  long long cnt_odd = 0, cnt_4 = 0;
  for (int i = 0; i < n; i++) {
    if (a[i] % 2 == 1)
      cnt_odd++;
    else if (a[i] % 4 == 0)
      cnt_4++;
  }
  string ans;
  if (!is_even && cnt_odd == (n / 2 + 1)) {
    if (cnt_odd <= cnt_4 + 1)
      ans = "YES";
    else
      ans = "No";
  } else {
    if (cnt_odd <= cnt_4)
      ans = "Yes";
    else
      ans = "No";
  }
  cout << ans << endl;
}
