#include <bits/stdc++.h>
using namespace std;

int main() {
  int N;
  cin >> N;
  int x = 0, y = 0, z = 0;
  for (int i = 0, a; i < N && cin >> a; i++) {
    if (!(a % 4)) x++;
    else if (!(a % 2)) y++;
    else z++;
  }
  cout << ((x + 1 >= y % 2 + z) ? "Yes" : "No") << "\n";
}