#include <bits/stdc++.h>
using namespace std;
const long long MX = 1e5 + 100, INF = 1e12;
long long n, m, k, i, j, x, sumg;
vector<pair<long long, long long> > g;
vector<long long> e;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin >> n >> m >> k;
  for (i = 1; i <= n; i++) {
    cin >> x;
    g.push_back({x, i});
  }
  sort(g.rbegin(), g.rend());
  for (i = 0; i < m * k; i++) {
    sumg += g[i].first;
    e.push_back(g[i].second);
  }
  sort(e.begin(), e.end());
  cout << sumg << "\n";
  for (i = 0; i < k - 1; i++) {
    cout << e[(i + 1) * m - 1] << " ";
  }
  return 0;
}
