#include <bits/stdc++.h>
using namespace std;
void fast() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
}
const int N = 2e5 + 5;
vector<pair<long long, long long> > v;
long long n, m, k;
void solve() {
  sort(v.rbegin(), v.rend());
  long long sum = 0;
  vector<long long> index;
  for (long long i = 0; i < m * k; i++) {
    sum += v[i].first;
    index.push_back(v[i].second);
  }
  sort(index.begin(), index.end());
  cout << sum << "\n";
  for (int i = 0; i < k - 1; i++) cout << index[(i + 1) * m - 1] << " ";
}
int main() {
  fast();
  cin >> n >> m >> k;
  for (int i = 0; i < n; i++) {
    long long t;
    cin >> t;
    v.push_back(make_pair(t, i + 1));
  }
  solve();
}
