#include <bits/stdc++.h>
using namespace std;
const int N = 200010;
const double eps = 1e-6;
int n, two, four, el;
int main() {
  cin >> n;
  while (n--) {
    int x;
    cin >> x;
    if (x % 4 == 0)
      four++;
    else if (x == 2)
      two++;
    else
      el++;
  }
  if (two) {
    if (four >= el)
      puts("Yes");
    else
      puts("No");
  } else {
    if (four + 1 >= el)
      puts("Yes");
    else
      puts("No");
  }
  return 0;
}
