#include using namespace std; using ll = long long; int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); ll N, K, S, c; cin >> N >> K; vector A(N), B, ans; for (int i=0; i> A[i]; B = A; sort(B.begin(), B.end()); c = B[K-1]; for (int i=1; i c) ans.push_back(i+1); } cout << ans.size() << endl; for (auto x : ans) cout << x << " "; cout << endl; return 0; }