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