#include <bits/stdc++.h>
using namespace std;
bool cmp(pair<long long int, long long int> a,
         pair<long long int, long long int> b) {
  return a.second > b.second;
}
long long int n, m, k;
long long int arr[200000 + 5];
pair<long long int, long long int> ex[200000 + 5];
long long int sum = 0, tot;
bool check[200000 + 5];
void input() {
  cin >> n >> m >> k;
  for (long long int i = 1; i <= n; i++) {
    cin >> arr[i];
    ex[i] = make_pair(i, arr[i]);
  }
  sort(ex + 1, ex + n + 1, cmp);
  tot = m * k;
  for (long long int i = 1; i <= tot; i++) {
    sum += ex[i].second;
  }
}
vector<long long int> res;
void id_flip() {
  for (long long int i = 1; i <= tot; i++) {
    check[ex[i].first] = 1;
  }
}
void process() {
  long long int t = 0;
  for (long long int i = 1; i <= n; i++) {
    if (check[i] == 1) t++;
    if (t == m) {
      res.push_back(i);
      t = 0;
    }
  }
  for (long long int i = 0; i < res.size() - 1; i++) cout << res[i] << " ";
  cout << endl;
}
int main() {
  input();
  cout << sum << endl;
  id_flip();
  process();
  return 0;
}
