#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1e5 + 5;
int a[MAXN];
int main() {
  int n;
  while (~scanf("%d", &n)) {
    int sum = 0;
    int ans = 0;
    for (int i = 1; i <= n; i++) {
      scanf("%d", &a[i]);
      if (a[i] % 4 == 0)
        sum++;
      else if (a[i] % 2 == 0)
        ans++;
    }
    if (sum >= (n / 2))
      printf("Yes\n");
    else if (ans * 2 == (n - 2 * (sum - 1)))
      printf("Yes\n");
    else
      printf("No\n");
  }
}
