#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long n, m, k;
  cin >> n >> m >> k;
  vector<long long> a(n);
  for (int i = 0; i < n; i++) cin >> a[i];
  vector<long long> b = a;
  map<long long, vector<int>> mp;
  for (int i = 0; i < n; i++) mp[-a[i]].push_back(i);
  sort(b.begin(), b.end());
  long long up = b[n - m * k];
  vector<bool> ok(n);
  int cnt = 0;
  long long sum = 0;
  for (auto &it : mp) {
    for (auto &i : it.second) {
      if (cnt < m * k) {
        ok[i] = true;
        sum += a[i];
        cnt++;
      }
    }
  }
  cout << sum << endl;
  vector<int> ans;
  cnt = 0;
  for (int i = 0; i < n; i++) {
    if (ok[i]) cnt++;
    if (cnt >= m) {
      cnt = 0;
      ans.push_back(i + 1);
    }
  }
  cout << ans[0];
  for (int i = 1; i < k - 1; i++) cout << " " << ans[i];
  cout << endl;
  return 0;
}
