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