#include <bits/stdc++.h>
int main(void) {
  int f_num = 0;
  int odd_num = 0;
  int num;
  int diff_4num;
  scanf("%d", &num);
  for (int i = 0; i < num; i++) {
    int val;
    scanf("%d", &val);
    if (val % 4 == 0)
      f_num++;
    else if (val % 2 == 0)
      odd_num++;
  }
  num -= (odd_num / 2) * 2;
  diff_4num = abs(f_num - num);
  if (f_num != 0 && diff_4num == f_num + 1 || diff_4num == f_num)
    puts("Yes");
  else
    puts("No");
  return 0;
}
