#include <bits/stdc++.h>
using namespace std;
const int MAX = 1e5;
int main() {
  int N;
  cin >> N;
  int a[MAX];
  int c1 = 0, c2 = 0, c4 = 0;
  for (int(i) = 0; (i) < (N); (i)++) {
    cin >> a[i];
    if (a[i] % 4 == 0)
      c4++;
    else if (a[i] % 2 == 1)
      c1++;
  }
  if (c4 >= c1)
    cout << "Yes";
  else
    cout << "No";
}
