#include <bits/stdc++.h>
using namespace std;
int main() {
  int num, oddCount = 0, times4 = 0, tmp;
  cin >> num;
  for (int i = 0; i < num; i++) {
    cin >> tmp;
    if (tmp & 1)
      oddCount++;
    else if (tmp % 4 == 0)
      times4++;
  }
  if (times4 >= oddCount)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}
