#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long n, m, k;
  cin >> n >> m >> k;
  std::vector<long long> a(n);
  for (auto &i : a) cin >> i;
  std::vector<long long> v = a;
  sort(v.begin(), v.end(), greater<long long>());
  long long sum = 0;
  multiset<long long> s;
  for (long long i = 0; i < m * k; i++) {
    sum += v[i];
    s.insert(v[i]);
  }
  cout << sum << '\n';
  long long c = 0;
  k--;
  for (long long i = 0; i < n && k > 0; i++) {
    if (s.count(a[i])) {
      c++;
      auto it = s.find(a[i]);
      s.erase(it);
    }
    if (c == m) {
      cout << i + 1 << " ";
      c = 0;
      k--;
    }
  }
  return 0;
}
