#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  int a[100009];
  int cnt = 0;
  int cnt2 = 0;
  int cnt1 = 0;
  for (int i = 1; i <= n; i++) scanf("%d", &a[i]);
  for (int i = 1; i <= n; i++) {
    if (a[i] % 4 == 0) {
      cnt++;
      cnt1++;
    }
    if (a[i] == 2) cnt2++;
  }
  if (cnt2 + cnt1 == n) {
    printf("Yes");
    return 0;
  }
  if (cnt < (n - (cnt2 / 2)) / 2)
    printf("No");
  else
    printf("Yes");
}
