#include <bits/stdc++.h>
using namespace std;
int n;
long long a, cnt = 0, cnt2 = 0, x;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cin >> n;
  for (int i = 0; i < n; i++) {
    cin >> a;
    if (a % 4 == 0)
      cnt++;
    else if (a % 2 == 0)
      cnt2++;
  }
  cnt += cnt2 / 2;
  x = n / 3;
  if (n % 3 != 0) x++;
  if (cnt >= x)
    cout << "Yes";
  else {
    n = n - cnt * 3;
    if (cnt2 >= n / 2)
      cout << "Yes";
    else
      cout << "No";
  }
  return 0;
}
