#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  long long n, m, k, x, sum = 0;
  cin >> n >> m >> k;
  pair<long long, long long> a[n];
  for (int i = 0; i < n; i++) {
    cin >> x;
    a[i] = make_pair(x, i + 1);
  }
  sort(a, a + n);
  reverse(a, a + n);
  for (int i = 0; i < m * k; i++) a[i] = make_pair(a[i].second, a[i].first);
  sort(a, a + m * k);
  for (int i = 0; i < m * k; i++) sum += a[i].second;
  cout << sum << "\n";
  for (int i = 0; i < k - 1; i++) cout << a[i * m + m - 1].first << " ";
}
