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