#include <bits/stdc++.h>
int count[3];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; ++i) {
    int a;
    scanf("%d", &a);
    if ((a & 3) == 0) {
      count[2]++;
    } else if ((a & 3) == 2) {
      count[1]++;
    } else {
      count[0]++;
    }
  }
  puts((count[1] == 0 && count[0] + 1 <= count[2]) ||
               (count[1] != 0 && count[0] <= count[2])
           ? "Yes"
           : "No");
  return 0;
}
