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