#include using namespace std; using ll = long long; int main(){ ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; for(int i = 0; i < n; i++){ int v; cin >> v; if(v != 0){ cout << "Yes\n"; return 0; } } cout << "No\n"; }