#include <bits/stdc++.h>
const long long mod = 1e9 + 7;
const long long inf = 0x3f3f3f3f;
using namespace std;
int main() {
  long long n, x, ans = 0, ans1 = 0, ans2 = 0;
  scanf("%lld", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &x);
    if (x % 4 != 0) ans++;
    if (x < 4 && 4 % x == 0) ans2++;
    if (x % 4 == 0) ans1++;
  }
  if (ans2 >= 2) ans -= ans2;
  printf(2 * ans1 >= ans ? "Yes\n" : "No\n");
  return 0;
}
