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