#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n;
  cin >> n;
  vector<int> num(n);
  int cnt4 = 0;
  int cnt1 = 0;
  for (int i = 0; i < n; i++) {
    cin >> num.at(i);
    if (num.at(i) % 4 == 0) {
      cnt4++;
    } else if (num.at(i) % 2 != 0)
      cnt1++;
  }
  puts(cnt1 - cnt4 >= 1 ? "No" : "Yes");
  return 0;
}
