#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a;
  cin >> n;
  int s1 = 0, s2 = 0;
  for (int i = 1; i <= n; ++i) {
    cin >> a;
    if (a % 2 == 1) s1++;
    if (a % 4 == 0) s2++;
  }
  if (s1 + s2 < n && s1 > s2)
    puts("No");
  else
    puts("Yes");
  return 0;
}
