#include <bits/stdc++.h>
using namespace std;
const int Max = 5e5 + 1;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int t;
  t = 1;
  while (t--) {
    int n, m, k;
    cin >> n >> m >> k;
    long long arr[n + 1];
    for (int i = 1; i <= n; i++) {
      cin >> arr[i];
    }
    vector<long long> v;
    unordered_map<long long, int> mp;
    for (int i = 1; i <= n; i++) {
      v.push_back(arr[i]);
    }
    sort(v.rbegin(), v.rend());
    long long ans = 0;
    for (int i = 0; i < m * k; i++) {
      ans += v[i];
      mp[v[i]]++;
    }
    vector<int> index;
    int cnt = 0;
    for (int i = 1; i <= n; i++) {
      if (mp[arr[i]]) {
        cnt++;
        mp[arr[i]]--;
      }
      if (cnt == m) {
        index.push_back(i);
        cnt = 0;
      }
    }
    cout << ans << '\n';
    for (int i = 0; i < k - 1; i++) {
      cout << index[i] << " ";
    }
  }
}
