#include #include #include #include #include using namespace std; int main() { int t,k; cin>>t>>k; int c=0,c1=0; int a[t]; for(int i=0;i>a[i]; if(a[i]==0)c++; if(a[i]!=0)c1++; } if(c==t)cout<<0; else if(c1==t )cout<<1; /* Enter your code here. Read input from STDIN. Print output to STDOUT */ return 0; }