#include using namespace std; #define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; template using V=vector; template using VV=V>; int main(){ ios::sync_with_stdio(false); std::cin.tie(nullptr); int n,k; cin>>n>>k; V A(n),B(n); rep(i,n){ cin>>A[i]; B[i]=A[i]; } sort(ALL(B)); int l=B[k-1]; V ANS; for(int i=1;il) ANS.push_back(i+1); } int a=ANS.size(); cout<