#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  int four = 0, two = 0;
  for (int i = 0; i < (int)(n); i++) {
    int c;
    scanf("%d", &c);
    if (c % 4 == 0)
      four++;
    else if (c % 2 == 0)
      two++;
  }
  bool ans = false;
  if (four * 3 >= n) ans = true;
  if (two > n) ans = true;
  if (four * 3 + two > n) ans = true;
  if (ans)
    printf("Yes\n");
  else
    printf("No\n");
}
