#include <bits/stdc++.h>
const long long maxn = 1e5 + 10;
int fn, tn, n, odd;
int main() {
  while (~scanf("%d", &n)) {
    fn = tn = odd = 0;
    for (int i = 1; i <= n; i++) {
      long long x;
      scanf("%lld", &x);
      if (x & 1) odd++;
      if (x % 4 == 0)
        fn++;
      else if (x % 2 == 0)
        tn++;
    }
    if (2 * fn + 1 >= (n - tn / 2) || tn == n || fn + tn >= n ||
        fn >= 1 && odd == 1 || fn >= 2 && odd == 2)
      printf("Yes\n");
    else
      printf("No\n");
  }
  return 0;
}
