#include <bits/stdc++.h>
using namespace std;

long long paletta_sort(int N, int V[]){

return -1;

}