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