#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t = 1;
  while (t--) {
    long long n, m, k;
    cin >> n >> m >> k;
    vector<pair<long long, long long>> v(n);
    for (int i = 0; i < n; i++) {
      int ele;
      cin >> ele;
      v[i] = {ele, i};
    }
    sort(v.rbegin(), v.rend());
    long long sum = 0;
    vector<long long> index(m * k);
    for (int i = 0; i < m * k; i++) {
      sum += v[i].first;
      index[i] = v[i].second;
    }
    sort(index.begin(), index.end());
    cout << sum << endl;
    for (int i = 0; i < k - 1; i++) {
      cout << index[(i + 1) * m - 1] + 1 << " ";
    }
    cout << endl;
  }
  return 0;
}
