#include #include #include #include #include #include #include #include #include #define endl "\n" using namespace std; using ll = long long; const ll MOD = 1e9+7; const ll INF = 1e18; #define REP(i, n) for(int i = 0; i < n; i++) using Graph = vector>; int main(){ ll n,k,x,y; cin>>n>>k>>x>>y; vector a(n); ll tmp = 0; for(ll i=0;i>a[i]; if(a[i] == 1) tmp++; } sort(a.begin(),a.end()); if(a[n-1] == 1){ cout<<0<