#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int a0 = 0, a2 = 0, a4 = 0;
  for (int i = 0; i < N; i++) {
    int b;
    cin >> b;
    if (b % 4 == 0)
      a4++;
    else if (b % 2 == 0)
      a2++;
    else
      a0++;
  }
  if (a4 > a0 || (a4 == a0 && a2 == 0))
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
}
