#include using namespace std; int main(){ long long a,b,k[10005],sum; cin>>a>>b; for(int i=0;i>k[i];} sort(k,k+b); if(k[0]>b){ cout<<0<a){ cout<