#include <bits/stdc++.h>
using namespace std;
long long n, x, dem, dem2;
int main() {
  cin >> n;
  for (long i = 1; i <= n; ++i) {
    cin >> x;
    if (x % 4 == 0)
      dem++;
    else if (x % 2 == 0)
      dem2++;
  }
  if (dem * 2 + dem2 >= n - 1)
    cout << "Yes";
  else
    cout << "No";
  return 0;
}
