#include #include using namespace std; using namespace atcoder; /////////////////// メイン /////////////////// int main () { //////////////////// 入力 //////////////////// int n; cin >> n; vector a(n); for (int i=0; i> a.at(i); } //////////////// 出力変数定義 //////////////// string result = "No"; //////////////////// 処理 //////////////////// for (int i : a) { if (i<=1) result = "Yes"; } //////////////////// 出力 //////////////////// cout << result << endl; //////////////////// 終了 //////////////////// return 0; }