#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k;
  cin >> n >> m >> k;
  vector<pair<int, int>> dp_arr(n);
  for (int i = 0; i < n; i++) {
    cin >> dp_arr[i].first;
    dp_arr[i].second = i;
  }
  sort(dp_arr.begin(), dp_arr.end());
  long long ans = 0;
  vector<int> arr(k * m);
  for (int i = n - 1; i > n - 1 - k * m; i--) {
    ans += dp_arr[i].first;
    arr[n - 1 - i] = dp_arr[i].second;
  }
  sort(arr.begin(), arr.end());
  cout << ans << "\n";
  for (int i = 1; i < k; i++) {
    cout << arr[i * m] << " ";
  }
  return 0;
}
