#include <bits/stdc++.h>
int main() {
  int n;
  long a[100000];
  int p2 = 0, p4 = 0;
  std::cin >> n;
  for (int i = 0; i < n; i++) std::cin >> a[i];
  for (int i = 0; i < n; i++)
    if (!(a[i] % 2)) p2++;
  for (int i = 0; i < n; i++)
    if (!(a[i] % 4)) p4++;
  int q4 = p4;
  int q2 = p2 - q4;
  int q1 = n - p2;
  if (((q1 < q4 + 1) && q2 == 0) || q1 < q4 + 1)
    std::cout << "Yes";
  else
    std::cout << "No";
  return 0;
}
