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