#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int one = 0, two = 0, four = 0;
  cin >> n;
  int num;
  for (int i = 0; i < n; i++) {
    scanf("%d", &num);
    if (num % 4 == 0)
      four++;
    else if (num % 2 == 0)
      two++;
    else
      one++;
  }
  if (four >= one)
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
