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