#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  scanf("%d", &N);
  int num4 = 0;
  int num2 = 0;
  int num1 = 0;
  for (int i = 0; i < N; i++) {
    int temp;
    scanf("%d", &temp);
    if (temp % 4 == 0) {
      num4++;
    } else if (temp % 2 == 0) {
      num2++;
    } else {
      num1++;
    }
  }
  if (num2 == 0 && num4 <= num1 + 1)
    printf("Yes\n");
  else if (num2 > 0 && num4 >= num1)
    printf("Yes\n");
  else
    printf("No\n");
  return 0;
}
