#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  int A[n];
  for (int i = 0; i < n; i++) scanf("%d", &A[i]);
  ;
  int cnt = 0, cnt2 = 0;
  for (int i = 0; i < n; i++) {
    if (A[i] % 2 != 0) cnt += 1;
    if (A[i] % 4 == 0) cnt2 += 1;
  }
  if (cnt <= cnt2)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
