#include <bits/stdc++.h>
int main() {
  int a[100010], n, num = 0, num1 = 0, num2 = 0;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    scanf("%d", &a[i]);
    if (a[i] % 4 == 0)
      num++;
    else {
      if (a[i] % 4 == 2)
        num2++;
      else
        num1++;
    }
  }
  if (num1 > num)
    printf("No\n");
  else
    printf("Yes\n");
  return 0;
}
