#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  long long int ar[n];
  for (int i = 0; i < n; i++) cin >> ar[i];
  int m4 = 0;
  int m2 = 0;
  int m1 = 0;
  for (int i = 0; i < n; i++) {
    if (!(ar[i] % 4)) m4++;
    if (ar[i] % 2 == 0 and ar[i] % 4 != 0)
      m2++;
    else
      m1++;
  }
  if (m2 <= 1 and m1 <= m4 + 1)
    puts("Yes");
  else if (m2 > 1 and m1 <= m4)
    puts("Yes");
  else
    puts("No");
}
