#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int sum_4 = 0, sum_2 = 0, tmp;
  for (int i = 0; i < n; i++) {
    cin >> tmp;
    if (tmp % 4 == 0) sum_4++;
    if (tmp % 2 == 0 and tmp % 4 != 0) sum_2++;
  }
  if (sum_4 >= (n - sum_2 + 1) / 2)
    cout << "Yes";
  else
    cout << "No";
}
