#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, n4 = 0, n2 = 0, a;
  string ans = "No";
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a % 4 == 0)
      n4++;
    else if (a % 2 == 0)
      n2++;
  }
  if (n4 * 2 + n2 >= n) ans = "Yes";
  cout << ans << endl;
  return 0;
}
