#include <bits/stdc++.h>
using namespace std;
int n, m, k;
vector<int> vec;
vector<pair<int, int> > aux;
int vis[200010];
int can[200010];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cin >> n >> m >> k;
  for (int i = 0; i < n; i++) {
    int a;
    cin >> a;
    vec.push_back(a);
    aux.push_back({a, i});
  }
  sort(aux.begin(), aux.end());
  for (int i = 0; i < aux.size() - (m * k); i++) {
    vis[aux[i].second] = 1;
  }
  long long int sum = 0;
  vector<int> ans;
  int mm = 0;
  for (int i = 0; i < vec.size(); i++) {
    if (vis[i]) continue;
    sum += vec[i];
    mm++;
    if (mm == m) mm = 0, ans.push_back(i + 1);
  }
  cout << sum << endl;
  for (int i = 0; i < ans.size() - 1; i++) cout << ans[i] << " ";
  cout << endl;
  return 0;
}
