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