#include <bits/stdc++.h>
using namespace std;
const int MOD = 1e9 + 7;
const int MX = 2e5 + 5;
const long long INF = 1e18;
const long double PI = acos((long double)-1);
void setIO(string name = "") {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  if ((int)(name).size()) {
    freopen((name + ".in").c_str(), "r", stdin);
    freopen((name + ".out").c_str(), "w", stdout);
  }
}
bool sortbysec(const pair<long long, long long> &a,
               const pair<long long, long long> &b) {
  return (a.second < b.second);
}
bool sortinrev(const pair<long long, long long> &a,
               const pair<long long, long long> &b) {
  return (a.first > b.first);
}
int main() {
  setIO();
  long long n, m, k;
  cin >> n >> m >> k;
  vector<pair<long long, long long>> arr;
  for (int i = 0; i < (n); i++) {
    long long a;
    cin >> a;
    arr.push_back({a, i});
  }
  sort(begin(arr), end(arr), sortinrev);
  long long Ans = 0;
  for (int i = 0; i < (m * k); i++) {
    Ans += arr[i].first;
  }
  sort(arr.begin(), arr.begin() + m * k, sortbysec);
  vector<int> indx;
  for (int i = m - 1; i < m * k; i += m) indx.push_back(arr[i].second + 1);
  cout << Ans << "\n";
  for (int i = 0; i < k - 1; i++) cout << indx[i] << " ";
}
