#include <bits/stdc++.h>
using namespace std;
int main() {
  int a;
  int b, c = 1;
  for (int i = 0; i < a; i++) {
    cin >> b;
    c *= b;
  }
  if (c / 4 >= a / 2)
    cout << "Yes";
  else
    cout << "No";
  system("pause");
  return 0;
}
