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