#include <bits/stdc++.h>
using namespace std;
int i, n, a, x = 0, y = 0, z = 0;
int main() {
  cin >> n;
  for (i = 1; i <= n; i++) {
    cin >> a;
    if (a == 2)
      x++;
    else if (a % 4 == 0)
      y++;
    else
      z++;
  }
  if (x == 1) {
    z++;
    if (x >= 2 && y >= z)
      printf("Yes\n");
    else
      printf("No\n");
  } else if (y >= (z - 1))
    printf("Yes\n");
  else
    printf("No\n");
}
