#include <bits/stdc++.h>
using namespace std;
int main() {
  int fig_num;
  int two_num = 0, four_num = 0;
  int buf;
  cin >> fig_num;
  for (int i = 0; i < fig_num; i++) {
    cin >> buf;
    if (buf % 4 == 0)
      four_num++;
    else if (buf % 2 == 0)
      two_num++;
  }
  if (four_num * 2 + two_num - 1 >= fig_num - 1)
    cout << "Yes";
  else
    cout << "No";
}
