#include <bits/stdc++.h>
using namespace std;
const int MAX = 5e5 + 10;
int arr[4];
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 0; i < n; i++) {
    int temp;
    scanf("%d", &temp);
    arr[temp % 4]++;
  }
  if (arr[2] > 0) {
    if (arr[0] >= arr[1] + arr[3]) printf("Yes");
  } else if ((arr[0] + 1 >= arr[1] + arr[3]) && arr[0] > 0)
    printf("Yes");
  else
    printf("No");
  return 0;
}
