#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int n, d8 = 0, n2 = 0, aux = 0;
  bool ans = false;
  cin >> n;
  vector<int> seq(n);
  for (int i = 0; i < n; i++) {
    cin >> seq[i];
    if (seq[i] % 4 == 0) d8++;
    if (seq[i] == 2) n2++;
    if (seq[i] + 2 % 4 == 0) aux++;
  }
  if (aux == 0) aux = n2 / 2;
  if (n2 == 0) n2 = aux / 2;
  d8 += min(n2, aux);
  if (d8 >= n / 2)
    ans = true;
  else
    ans = false;
  if (ans)
    cout << "Yes\n";
  else
    cout << "No\n";
}
