#include <bits/stdc++.h>
int main() {
  std::ios_base::sync_with_stdio(false);
  std::cin.tie(0);
  std::cout.tie(0);
  int n = 0;
  std::cin >> n;
  int four_c = 0;
  int two_c = 0;
  for (int i = 0; i < n; ++i) {
    int e = 0;
    std::cin >> e;
    if (e == 2) ++two_c;
    if (e % 4 == 0) ++four_c;
  }
  two_c = (two_c >> 1) << 1;
  int total = four_c + two_c + 1;
  if (n > 2) ++total;
  if (total >= n)
    std::cout << "Yes" << std::endl;
  else
    std::cout << "No" << std::endl;
  return 0;
}
