#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  int yon = 0;
  int kisuu = 0;
  for (int i = 0; i < N; i++) {
    int a;
    cin >> a;
    if (a % 4 == 0) yon++;
    if (a % 2 == 1) kisuu++;
  }
  if (yon + 1 >= kisuu)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
