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