#include <bits/stdc++.h>
using namespace std;
bool sortbysec(const pair<long long int, long long int> &a,
               const pair<long long int, long long int> &b) {
  return (a.second < b.second);
}
int main() {
  vector<pair<long long int, long long int>> v;
  long long int n, m, k;
  cin >> n >> m >> k;
  long long int a[n];
  for (long long int i = 0; i < n; i++) {
    cin >> a[i];
    v.push_back(make_pair(a[i], i));
  }
  sort(v.begin(), v.end());
  reverse(v.begin(), v.end());
  long long int beauty = 0;
  for (long long int i = 0; i < m * k; i++) {
    beauty += v[i].first;
  }
  cout << beauty << "\n";
  long long int j = 0, q = 0;
  int pos[999999];
  for (int i = 0; i < n; i++) {
    pos[v[i].second] = i;
  }
  for (int i = 0; i < n; i++) {
    if (pos[i] < m * k) {
      j++;
      if (j == m) {
        q++;
        if (q < k) {
          cout << i + 1 << " ";
          j = 0;
        }
      }
    }
  }
}
