Problem: The story was not finished as PMP thought. God offered him one more chance to reincarnate and come back to life. But before he can come back, God told him that PMP should ask n great men including prominent programmers about their life experiences.

The men are standing on a straight line. They are numbered 1 through n from left to right. The coordinate of the i-th man is xi (xi < xi + 1, i < n). PMP should visit all these people one by one in arbitrary order. Each men should be visited exactly once. At the beginning of his tour, he starts at location of s-th man and asks him about his experiences.

Each time PMP wants to change his location, he should give a ticket to an angel and the angel carries him to his destination. Angels take PMP from one location, fly to his destination and put him down there. Nobody else is visited in this movement. Moving from i-th man to j-th man, takes |xi - xj| time. PMP can get back to life as soon as he visits all men.

There are two types of angels: Some angels are going to the right and they only accept right tickets. Others are going the left and they only accept left tickets. There are an unlimited number of angels of each type. PMP has l left tickets and n - 1 - l right tickets.

PMP wants to get back to life as soon as possible to be able to compete in this year's final instead of the final he missed last year. He wants to know the quickest way to visit all the men exactly once. He also needs to know the exact sequence moves he should make.

Input

The first line of input contains three space-separated integers n, l, s (2 ≤ n ≤ 105, 0 ≤ l < n, 1 ≤ s ≤ n) — the number of people to visit, the number left tickets PMP got, and initial location of PMP. Next line contains n space-separated integers. The i-th integer in this line is xi (0 = x1 < x2 < ... < xn ≤ 109) — the location of i-th man.

Output

If PMP cannot visit all men with the tickets he got print -1 in the only line of output. Otherwise, in the first line you should print the minimum time PMP can visit all men. In the second line you should print n - 1 integers that are the numbers of the men that PMP should visit in order in one optimal solution. If there are multiple answers, output any of them.

Please do not use the %lld specifier to read or write 64-bit integers in С++. It is preferred to use cin, cout streams or the %I64d specifier.

Examples

Input

5 2 2
0 10 11 21 22


Output

33
1 3 5 4


Input

4 3 1
0 1 2 3


Output

-1


Input

7 3 2
0 100 200 201 301 303 305


Output

409
1 3 4 7 6 5

Note

Let us remind here, a great contestant of all times, who left us about a year ago. May Renat Mullakhanov rest in peace.

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
int n, x[200000], S;
int orden[200000], guia[200000];
bool cmpor(int i1, int i2) { return x[i1 + 1] - x[i1] < x[i2 + 1] - x[i2]; }
long long tope = 1000000000000000000LL;
void solve(int le, int ri, int *sol, long long &coste) {
  if (!S) {
    coste = tope;
    return;
  }
  int isol = 0;
  if (ri <= n - 1 - S) {
    for (int i = n - 1 - ri + 1; i <= n - 1; ++i) sol[isol++] = i;
    for (int i = n - 1 - ri; i >= 0; --i)
      if (i != S) sol[isol++] = i;
    coste = x[n - 1] - x[S] + x[n - 1] - x[0];
  } else if (le == 1) {
    for (int i = S + 1; i <= n - 1; ++i) sol[isol++] = i;
    for (int i = 0; i <= S - 1; ++i) sol[isol++] = i;
    coste = x[n - 1] - x[S] + x[n - 1] - x[0] + x[S - 1] - x[0];
  } else {
    coste = x[n - 1] - x[S] + x[n - 1] - x[0] + x[ri - (n - 1 - S)] - x[0];
    int indexmin = ri - (n - 1 - S);
    priority_queue<int> q;
    for (int i = indexmin + 1; i < S - 1; ++i) q.push(-(x[i + 1] - x[i]));
    long long costeact = coste;
    for (int i = indexmin; i > 0; --i) {
      costeact -= x[i] - x[i - 1];
      q.push(-(x[i + 1] - x[i]));
      long long valtop = -q.top();
      q.pop();
      costeact += 2 * valtop;
      if (costeact < coste) {
        coste = costeact;
        indexmin = i - 1;
      }
    }
    for (int i = S + 1; i <= n - 1; ++i) sol[isol++] = i;
    for (int i = 0; i <= indexmin; ++i) guia[i] = 0;
    for (int i = indexmin + 1; i < S; ++i) guia[i] = -1;
    for (int i = indexmin + 1; i < S - 1; ++i) orden[i] = i;
    sort(orden + (indexmin + 1), orden + (S - 1), cmpor);
    for (int i = 0; i < ri - (n - 1 - S) - indexmin; ++i)
      guia[orden[i + indexmin + 1]] = 1;
    int index = S - 1;
    int direccion = -1;
    while (index != 0) {
      if (direccion == -1) {
        if (guia[index] == -1) {
          if (guia[index - 1] == 1) {
            index--;
          } else {
            guia[index] = 0;
            sol[isol++] = index;
            index--;
          }
        } else if (guia[index] == 1) {
          if (guia[index - 1] == 1) {
            index--;
          } else {
            guia[index] = 0;
            sol[isol++] = index;
            index++;
            direccion = 1;
          }
        } else {
          index--;
        }
      } else {
        if (guia[index] == -1) {
          sol[isol++] = index;
          guia[index] = 0;
          index--;
          direccion = -1;
        } else if (guia[index] == 1) {
          guia[index] = 0;
          sol[isol++] = index;
          index++;
        }
      }
    }
    for (int i = 0; i <= indexmin; ++i) sol[isol++] = i;
  }
}
void print(int coste, int sol[200000]) {
  cout << coste << endl;
  for (int i = 0; i < n - 1; i++) {
    if (i > 0) cout << " ";
    cout << sol[i] + 1;
  }
  cout << endl;
}
int L, R, T;
int solR[200000];
int solL[200000];
long long costeR;
long long costeL;
int main() {
  scanf("%d%d%d", &n, &L, &S);
  R = n - 1 - L;
  --S;
  for (int i = 0; i < n; ++i) scanf("%d", x + i);
  if ((S < n - 1 && !R) || (S > 0 && !L)) {
    cout << -1 << endl;
    return 0;
  }
  solve(L, R, solR, costeR);
  for (int i = 0; i < n; ++i) x[i] = -x[i];
  reverse(x, x + n);
  S = n - 1 - S;
  solve(R, L, solL, costeL);
  if (costeL < tope)
    for (int i = 0; i < n - 1; ++i) solL[i] = n - 1 - solL[i];
  if (costeR < costeL)
    print(costeR, solR);
  else
    print(costeL, solL);
  return 0;
}