#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, x;
  cin >> n;
  int ans = 0;
  int js = 0;
  for (int i = 0; i < n; i++) {
    cin >> x;
    if (x & 1) js++;
    if (x % 4 == 0) ans++;
  }
  js++;
  if (ans >= (js - 1))
    cout << "Yes" << '\n';
  else
    cout << "No" << '\n';
  return 0;
}
