#include <bits/stdc++.h>
using namespace std;
static long long imin = std::numeric_limits<long long>::min();
static long long imax = std::numeric_limits<long long>::max();
template <class T1, class T2>
std::ostream& operator<<(std::ostream& os, std::map<T1, T2>& mp);
template <class T1, class T2>
std::ostream& operator<<(std::ostream& os, std::pair<T1, T2>& pair);
template <class T>
std::ostream& operator<<(std::ostream& os, std::vector<T>& vec);
template <class T1, class T2>
std::ostream& operator<<(std::ostream& os, std::pair<T1, T2>& pair) {
  os << '(' << pair.first << ',' << pair.second << ')';
  return os;
}
template <class T>
std::ostream& operator<<(std::ostream& os, std::vector<T>& vec) {
  std::size_t n = vec.size();
  if (n == 0) {
    return os;
  }
  os << " ";
  for (long long i = 0; i < n - 1; ++i) {
    os << vec[i] << " ";
  }
  os << vec[n - 1];
  os << std::endl;
  return os;
}
template <class T1, class T2>
std::ostream& operator<<(std::ostream& os, std::map<T1, T2>& mp) {
  std::size_t n = mp.size();
  if (n == 0) {
    return os;
  }
  os << " ";
  for (auto&& x : mp) {
    os << x << " ";
  }
  os << std::endl;
  return os;
}
template <class T>
std::ostream& operator<<(std::ostream& os, std::set<T>& mp) {
  std::size_t n = mp.size();
  if (n == 0) {
    return os;
  }
  os << " ";
  for (auto&& x : mp) {
    os << x << " ";
  }
  os << std::endl;
  return os;
}
template <class T>
inline bool chmin(T& a, T const b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmax(T& a, T const b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
long long fact(long long n) {
  long long res = 1;
  while (n >= 0) {
    res *= n;
    n--;
  }
  return res;
}
long long pow(long long i, long long n) {
  long long res = 1;
  while (n >= 0) {
    res *= i;
    n--;
  }
  return res;
}
long long gcd(long long l, long long r) {
  if (l < r) {
    return gcd(r, l);
  }
  if (r == 0) {
    return l;
  }
  return gcd(r, l % r);
}
int main(int const argc, char const** argv) {
  long long N;
  cin >> N;
  vector<long long> a(N);
  for (int i = 0; (i) < (N); ++(i)) {
    cin >> a[i];
  }
  long long fours =
      count_if(a.begin(), a.end(), [&](long long x) { return x % 4 == 0; });
  long long twos =
      count_if(a.begin(), a.end(), [&](long long x) { return x % 2 == 0; }) -
      fours;
  if (twos == 0) {
    if (N - (fours * 2 + 1) > 0) {
      cout << "No" << endl;
    } else {
      cout << "Yes" << endl;
    }
  } else if (twos == 1) {
    if (N - (fours * 2 + 2) > 0) {
      cout << "No" << endl;
    } else {
      cout << "Yes" << endl;
    }
  } else {
    if (N - (fours * 2 + 1) - twos > 0) {
      cout << "No" << endl;
    } else {
      cout << "Yes" << endl;
    }
  }
}
