#include <bits/stdc++.h>
using namespace std;
long long sum = 0;
pair<int, int> a[200005];
bool cmpx(pair<int, int> a, pair<int, int> b) { return a.first > b.first; }
bool cmpd(pair<int, int> a, pair<int, int> b) { return a.second < b.second; }
int main() {
  long long n, m, k;
  cin >> n >> m >> k;
  long long num = m * k;
  for (long long i = 0; i < n; i++) {
    cin >> a[i].first;
    a[i].second = i;
  }
  sort(a, a + n, cmpx);
  for (long long i = 0; i < num; i++) {
    sum += a[i].first;
  }
  cout << sum << endl;
  sort(a, a + num, cmpd);
  for (long long i = m - 1; i < num - m; i += m) cout << a[i].second + 1 << " ";
}
