#include <bits/stdc++.h>
using namespace std;
int N;
int a, b, c;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cin >> N;
  while (N--) {
    int x;
    cin >> x;
    if (x % 4 == 0)
      a++;
    else if (x % 2 == 0)
      b++;
    else
      c++;
  }
  if (b == 0) {
    if (a >= c + 1)
      cout << "Yes";
    else
      cout << "No";
  } else {
    if (a >= c)
      cout << "Yes";
    else
      cout << "No";
  }
}
