#include <bits/stdc++.h>
using namespace std;
int n, n4, n2;
long long int a;
int main() {
  cin >> n;
  n4 = 0;
  n2 = 0;
  for (int i = 0; i < n; i++) {
    scanf("%d", &a);
    if (a % 2 == 0) n2++;
    if (a % 4 == 0) n4++;
  }
  if (n2 + 2 * n4 < n)
    cout << "No";
  else
    cout << "Yes";
}
